home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / Tool Chest / Development Kits / MPW etc / MPW-GM / MPW / MPW.Help < prev    next >
Encoding:
Text File  |  1998-12-02  |  210.3 KB  |  3,940 lines  |  [TEXT/MPS ]

  1. MPW Help Summaries -- Golden Master
  2.  
  3. Copyright Apple Computer, Inc. 1986-1998
  4.     All rights reserved.
  5.  
  6.  
  7.     Help summaries are available for each of the MPW commands.  
  8.     To see the list of all commands enter "Help Commands".  To see
  9.     a partial list of commands, e.g., those relating to compilers, enter
  10.     "Help Languages".  Some commands may appear in more than one category.
  11.     In addition, brief descriptions of Expressions, Patterns, Selections,
  12.     Characters, Shortcuts, and Variables are also included.
  13.  
  14.     To see Help summaries, enter a command such as
  15.  
  16.     Help Commands       # a list of all commands
  17.     Help Editing        # a list of commands useful for editing
  18.     Help FileSystem     # a list of commands relating to files, directories, and volumes
  19.     Help Languages      # a list of compiler/assembler names
  20.     Help Miscellaneous  # a list of commands useful for software development
  21.     Help Projector      # a list of commands in Projector, a project/source control system
  22.     Help Resources      # a list of commands useful in processing resources
  23.     Help Scripting      # a list of commands useful primarily within scripts
  24.     Help System         # a list of commands that perform system functions
  25.     Help Window         # a list of commands pertaining to windows
  26.  
  27.     Help CFM-68K        # a list of commands useful for CFM-68K development
  28.     Help PowerMacintosh # a list of commands useful for Power Macintosh development
  29.  
  30.     Help Launch         # information on launching applications from the Shell
  31.     Help Variables      # summary of the standard MPW shell variables
  32.     Help Characters     # summary of MPW Shell special characters
  33.     Help Expressions    # summary of expressions
  34.     Help Selections     # summary of selections
  35.     Help Patterns       # summary of patterns (regular expressions)
  36.     Help Shortcuts      # summary of MPW Shell shortcuts
  37.     
  38. -
  39. Commands
  40.     This is a full alphabetic list of all commands in MPW.  This includes built-in
  41.     commands, commands that are implemented as scripts, and commands that are 
  42.     implemented as tools.  To get details, enter a command such as
  43.     
  44.     Help AddMenu        # add a menu item
  45.     Help AddPane        # split the window into panes
  46.     Help Adjust         # adjust lines
  47.     Help Alert          # display an alert box
  48.     Help Alias          # define or write command aliases
  49.     Help Align          # align text to left margin
  50.     Help Asm            # MC68xxx Macro Assembler
  51.     Help Backup         # folder file backup
  52.     Help Beep           # generate tones
  53.     Help Begin          # group commands
  54.     Help Break          # break from For or Loop
  55.     Help Browser        # invoke Marker Browser
  56.     Help BuildCommands  # show build commands
  57.     Help BuildMenu      # create the Build menu
  58.     Help BuildProgram   # build the specified program
  59.     Help Canon          # canonical spelling tool
  60.     Help Catenate       # concatenate files
  61.     Help CheckIn        # check a file into a project
  62.     Help CheckOut       # check a file out from a project
  63.     Help CheckOutDir    # specify the directory where checked out files will be placed
  64.     Help Choose         # choose or list network file server volumes and printers
  65.     Help Clear          # clear the selection
  66.     Help Close          # close specified windows
  67.     Help CMarker        # generate Mark commands for C and C++ function definitions
  68.     Help Commando       # present a dialog interface for commands
  69.     Help Compare        # compare text files
  70.     Help CompareFiles   # compare text files and interactively view differences
  71.     Help CompareRevisions # compare two revisions of a file in a project
  72.     Help Confirm        # display a confirmation dialog box
  73.     Help Continue       # continue with next iteration of For or Loop
  74.     Help Copy           # copy selection to Clipboard
  75.     Help Count          # count lines and characters
  76.     Help CreateMake     # create a simple makefile
  77.     Help Cut            # copy selection to Clipboard and delete it
  78.     Help Date           # write the date and time
  79.     Help Delete         # delete files and directories
  80.     Help DeleteMenu     # delete user-defined menus and menu items
  81.     Help DeleteNames    # delete user-defined symbolic names
  82.     Help DeletePane     # delete panes from the window
  83.     Help DeleteRevisions # delete previous revisions of files in a project
  84.     Help DeRez          # resource decompiler
  85.     Help Directory      # set or write the default directory
  86.     Help DirectoryMenu  # create the Directory menu
  87.     Help DoIt           # highlight and execute a series of shell commands
  88.     Help DumpCode       # write formatted CODE resources
  89.     Help DumpFile       # display contents of any file
  90.     Help DumpObj        # write formatted object file
  91.     Help DumpPEF        # dump formatted PEF file
  92.     Help DumpSYM        # dump formatted SYM or xSYM file
  93.     Help DumpXCOFF      # write formatted XCOFF file
  94.     Help Duplicate      # duplicate files and directories
  95.     Help Echo           # echo parameters
  96.     Help Eject          # eject volumes
  97.     Help Entab          # convert runs of spaces to tabs
  98.     Help Equal          # compare files and directories
  99.     Help Erase          # initialize volumes
  100.     Help Evaluate       # evaluate an expression
  101.     Help Execute        # execute command file in the current scope
  102.     Help Exists         # confirm the existence of a file or directory
  103.     Help Exit           # exit from a command file
  104.     Help Export         # make variables available to commands
  105.     Help FileDiv        # divide a file into several smaller files
  106.     Help Files          # list files and directories
  107.     Help Find           # find and select a text pattern
  108.     Help Flush          # flush the tools that the Shell has cached
  109.     Help For            # repeat commands once per parameter
  110.     Help Format         # set or display formatting options for a window
  111.     Help Gestalt        # output information about the operating environment
  112.     Help Get            # get a record from an indexed file 
  113.     Help GetErrorText   # display error messages based on message number
  114.     Help GetFileName    # display a Standard File dialog box
  115.     Help GetListItem    # display items for selection in a dialog box
  116.     Help Help           # write summary information
  117.     Help HideWindows    # hide specified windows
  118.     Help If             # conditional command execution
  119.     Help ILink          # incrementally link an application, tool, shared library or resource
  120.     Help ILinkToSYM     # generate .SYM file from ILink state file
  121.     Help Lib            # combine object files into a library file
  122.     Help Line           # find line in the target window
  123.     Help Link           # link an application, tool, or resource
  124.     Help Loop           # repeat commands until Break
  125.     Help Make           # build up-to-date version of a program
  126.     Help MakeErrorFile  # create error message textfile
  127.     Help MakeFlat       # flatten a segmented shared library created by ILink 
  128.     Help MakePEF        # XCOFF to PEF converter
  129.     Help MakeStub       # create a PowerPC, CFM-68K or fat stub library
  130.     Help MakeSYM        # extract SYM information from XCOFF
  131.     Help Mark           # assign a marker to a selection
  132.     Help Markers        # list markers
  133.     Help MatchIt        # semi-intelligent language sensitive bracket matcher
  134.     Help MergeBranch    # merge a branch revision onto the trunk
  135.     Help MergeFragment  # merge code fragments
  136.     Help ModifyReadOnly # enables a read-only Projector file to be edited
  137.     Help ModPEF         # extract, delete and/or modify PEF fragments
  138.     Help Monitors       # list monitor rectangle(s)
  139.     Help Mount          # mount volumes
  140.     Help MountProject   # mount projects
  141.     Help Move           # move files and directories
  142.     Help MoveWindow     # move window to h,v location
  143.     Help MrC            # C Compiler for Macintosh On RISC
  144.     Help MrCpp          # C++ Compiler for Macintosh On RISC
  145.     Help MrPlus         # Post-link analysis of a Macintosh PowerPC™ executable for code 
  146.                         #   coverage or performance
  147.     Help MultiSearch    # find multiple patterns in text files in a directory tree
  148.     Help NameRevisions  # define a symbolic name
  149.     Help New            # open a new window
  150.     Help Newer          # compare modification dates of files
  151.     Help NewFolder      # create a new folder
  152.     Help NewKeyMap      # create alternate keyboard editor assignments
  153.     Help NewProject     # create a new project
  154.     Help ObsoleteProjectorFile  # make a Projector file inactive
  155.     Help Open           # open file(s) in window(s)
  156.     Help OrphanFiles    # remove Projector information from a list of files
  157.     Help Parameters     # write parameters
  158.     Help Pascal         # Pascal compiler
  159.     Help PasMat         # Pascal programs formatter
  160.     Help PasRef         # Pascal cross-referencer
  161.     Help Paste          # replace selection with Clipboard contents
  162.     Help PerformReport  # generate a performance report
  163.     Help PlaySound      # play a sound ('snd ') resource
  164.     Help Position       # display current line position
  165.     Help PPCAsm         # PowerPC™ 60x Assembler
  166.     Help PPCLink        # link a PowerPC application, tool, shared library or static library
  167.     Help PPCProff       # analyze a .pgh file and display the results
  168.     Help Print          # print text files
  169.     Help PrintProff     # analyze a .proff file and print the results
  170.     Help ProcNames      # display Pascal procedure and function names
  171.     Help Project        # set or write the current project
  172.     Help ProjectInfo    # display information about a Project
  173.     Help Quit           # quit MPW
  174.     Help Quote          # echo parameters, quoting if needed
  175.     Help Redo           # reverse previous Undo series (if {AllowMultipleUndo} = 1)
  176.     Help Rename         # rename files and directories
  177.     Help RenameProjectorFile    # give Projector file a new name
  178.     Help Replace        # replace the selection
  179.     Help Request        # request text from a dialog box
  180.     Help ResEqual       # compares the resources in two files
  181.     Help ResolveAlias   # resolve aliases in pathname
  182.     Help Revert         # revert window to previous saved state
  183.     Help Rez            # resource compiler
  184.     Help RezDet         # detect inconsistencies in resources
  185.     Help RotatePanes    # make another window pane the active pane
  186.     Help RotateWindows  # send active (frontmost) window to back
  187.     Help RProj          # send Projector command to SourceServer
  188.     Help RShell         # send a command to a "remote" shell
  189.     Help Save           # save specified windows
  190.     Help SaveOnClose    # set save behavior when closing windows
  191.     Help SC             # Symantec C compiler
  192.     Help SCpp           # Symantec C++ compiler
  193.     Help SCPre          # Symantec C/C++ preprocessor
  194.     Help Search         # search files for pattern
  195.     Help SendAE         # Send Apple Event to application
  196.     Help Set            # define or write Shell variables
  197.     Help SetDirectory   # set the default directory
  198.     Help SetFile        # set file attributes
  199.     Help SetKey         # define or write key bindings
  200.     Help SetPrivilege   # set access privileges for directories on file servers
  201.     Help SetShellSize   # set the shell's stack and Process Manager partition sizes 
  202.     Help SetVersion     # maintain version and revision number
  203.     Help Shift          # renumber command file positional parameters
  204.     Help ShowSelection  # place the selection within an editor window
  205.     Help ShowWindows    # make previous hidden windows visible
  206.     Help Shutdown       # power down or restart the machine
  207.     Help SizeWindow     # set a window's size
  208.     Help SOMC           # SOM idl compiler
  209.     Help SOMpdl         # sanitize .idl file(s) for public consumption
  210.     Help Sort           # sort or merge lines of text
  211.     Help StackWindows   # arrange windows diagonally
  212.     Help StreamEdit     # scriptable text editor
  213.     Help Target         # make a window the target window
  214.     Help TickCount      # returns current system Tick Count
  215.     Help TileWindows    # arrange windows in a tiled fashion
  216.     Help TransferCkid   # move Projector information from one file to another
  217.     Help Translate      # translate characters
  218.     Help Unalias        # remove aliases
  219.     Help Undo           # undo the last edit (or edits if {AllowMultipleUndo} = 1)
  220.     Help Unexport       # remove variable definitions from the export list
  221.     Help Unmangle       # unmangle mangled C++ names
  222.     Help Unmark         # remove a marker from a window
  223.     Help Unmount        # unmount volumes
  224.     Help UnmountProject # unmount projects
  225.     Help UnObsoleteProjectorFile    # make an inactive Projector file active again
  226.     Help Unset          # remove Shell variable definitions
  227.     Help UnsetKey       # remove key bindings
  228.     Help UserVariables  # uses Commando to set all the user variables
  229.     Help Version        # print the version of the MPW Shell
  230.     Help VersionList    # print version info from files
  231.     Help Volumes        # list mounted volumes
  232.     Help WhereIs        # find the location of a file
  233.     Help Which          # determine which file the shell will execute
  234.     Help Windows        # list windows
  235.     Help ZoomWindow     # enlarge or reduce a window's size
  236.     
  237. -
  238. Editing
  239.     The commands in this list are primarily useful for the editing of files.
  240.     To get details, enter a command such as
  241.     
  242.     Help Adjust         # adjust lines
  243.     Help Align          # align text to left margin
  244.     Help Canon          # canonical spelling tool
  245.     Help Clear          # clear the selection
  246.     Help CompareFiles   # compare text files and interactively view differences
  247.     Help Copy           # copy selection to Clipboard
  248.     Help Cut            # copy selection to Clipboard and delete it
  249.     Help Entab          # convert runs of spaces to tabs
  250.     Help FileDiv        # divide a file into several smaller files
  251.     Help Find           # find and select a text pattern
  252.     Help Format         # set or display formatting options for a window
  253.     Help Line           # find line in the target window
  254.     Help Mark           # assign a marker to a selection
  255.     Help Markers        # list markers
  256.     Help MatchIt        # semi-intelligent language sensitive bracket matcher
  257.     Help NewKeyMap      # create alternate keyboard editor assignments      
  258.     Help Paste          # replace selection with Clipboard contents
  259.     Help Redo           # reverse previous Undo series (if {AllowMultipleUndo} = 1)
  260.     Help Replace        # replace the selection
  261.     Help ShowSelection  # place the selection within an editor window
  262.     Help SetKey         # define or write key bindings
  263.     Help StreamEdit     # scriptable text editor
  264.     Help Translate      # translate characters
  265.     Help Undo           # undo the last edit (or edits if {AllowMultipleUndo} = 1)
  266.     Help Unmark         # remove a marker from a window
  267.     Help UnsetKey       # remove key bindings
  268.     
  269. -
  270. FileSystem
  271.     The commands in this list relate to the manipulation of files and volumes.
  272.     To get details, enter a command such as
  273.     
  274.     Help Catenate       # concatenate files
  275.     Help Close          # close specified windows
  276.     Help Compare        # compare text files
  277.     Help CompareFiles   # compare text files and interactively view differences
  278.     Help Count          # count lines and characters
  279.     Help Delete         # delete files and directories
  280.     Help Directory      # set or write the default directory
  281.     Help DumpFile       # display contents of any file
  282.     Help Duplicate      # duplicate files and directories
  283.     Help Equal          # compare files and directories
  284.     Help Erase          # initialize volumes
  285.     Help Exists         # confirm the existence of a file or directory
  286.     Help FileDiv        # divide a file into several smaller files
  287.     Help Files          # list files and directories
  288.     Help Move           # move files and directories
  289.     Help Mount          # mount volumes
  290.     Help MultiSearch    # find multiple patterns in text files in a directory tree
  291.     Help New            # open a new window
  292.     Help Newer          # compare modification dates of files
  293.     Help NewFolder      # create a new folder
  294.     Help Open           # open file(s) in window(s)
  295.     Help Position       # display current line position
  296.     Help Print          # print text files
  297.     Help Rename         # rename files and directories
  298.     Help ResolveAlias   # resolve aliases in pathname
  299.     Help Save           # save specified windows
  300.     Help Search         # search files for pattern
  301.     Help SetDirectory   # set the default directory
  302.     Help SetFile        # set file attributes
  303.     Help SetPrivilege   # set access privileges for directories on file servers
  304.     Help SetVersion     # maintain version and revision number
  305.     Help Target         # make a window the target window
  306.     Help Unmount        # unmount volumes
  307.     Help Volumes        # list mounted volumes
  308.     Help WhereIs        # find the location of a file
  309.     
  310. -
  311. Languages
  312.     The commands in this group relate to various language processors.
  313.     To get details, enter a command such as
  314.     
  315.     Help Asm            # MC68xxx Macro Assembler
  316.     Help MrC            # C Compiler for Macintosh On RISC
  317.     Help MrCpp          # C++ Compiler for Macintosh On RISC
  318.     Help Pascal         # Pascal compiler
  319.     Help PPCAsm         # PowerPC 60x Assembler
  320.     Help SC             # Symantec C compiler
  321.     Help SCpp           # Symantec C++ compiler
  322.     Help SCPre          # Symantec C/C++ preprocessor
  323.     Help SOMC           # SOM idl compiler
  324.     Help SOMpdl         # sanitize .idl file(s) for public consumption
  325.  
  326. -
  327. Miscellaneous
  328.     The following commands are a conglomeration of miscellaneous utilities
  329.     and tools that are of use in the software construction process.  To get details,
  330.     enter a command such as
  331.     
  332.     Help Backup         # folder file backup
  333.     Help BuildCommands  # show build commands
  334.     Help BuildMenu      # create the Build menu
  335.     Help BuildProgram   # build the specified program
  336.     Help CMarker        # generate Mark commands for C and C++ function definitions
  337.     Help Commando       # present a dialog interface for commands
  338.     Help CreateMake     # create a simple makefile
  339.     Help DeRez          # resource decompiler
  340.     Help DumpCode       # write formatted CODE resources
  341.     Help DumpObj        # write formatted object file
  342.     Help DumpPEF        # dump formatted PEF file
  343.     Help DumpSYM        # dump formatted SYM or xSYM file
  344.     Help DumpXCOFF      # write formatted XCOFF file
  345.     Help ILink          # incrementally link an application, tool, shared library or resource
  346.     Help ILinkToSYM     # generate .SYM file from ILink state file
  347.     Help Lib            # combine object files into a library file
  348.     Help Link           # link an application, tool, or resource
  349.     Help Make           # build up-to-date version of a program
  350.     Help MakeErrorFile  # create error message textfile
  351.     Help MakeFlat       # flatten a segmented shared library created by ILink
  352.     Help MakeStub       # create a PowerPC, CFM-68K or fat stub library
  353.     Help ModPEF         # extract, delete and/or modify PEF fragments
  354.     Help PerformReport  # generate a performance report
  355.     Help PPCLink        # link a PowerPC application, tool, shared library or static library
  356.     Help PPCProff       # analyze a .pgh file and display the results
  357.     Help ProcNames      # display Pascal procedure and function names
  358.     Help Rez            # resource compiler
  359.     Help RezDet         # detect inconsistencies in resources
  360.     Help SetVersion     # maintain version and revision number
  361.     Help Sort           # sort or merge lines of text
  362.     Help VersionList    # print version info from files
  363.     
  364. -
  365. Projector
  366.     Projector is a collection of built-in MPW commands and windows that
  367.     help programmers (both individuals and teams) control and account for
  368.     changes to all the files (documentation, source, applications etc.)
  369.     associated with a software project.
  370.     
  371.     Here is a brief summary of the commands (the CheckIn, CheckOut, and
  372.     NewProject commands also have windows that can be opened using the
  373.     “-w” option to the respective command).  For help, enter a command such as
  374.     
  375.     Help CheckIn                    # check a file into a project
  376.     Help CheckOut                   # check a file out from a project
  377.     Help CheckOutDir                # specify the directory where checked out files will be placed
  378.     Help CompareRevisions           # compare two revisions of a file in a project
  379.     Help DeleteNames                # delete user-defined symbolic names
  380.     Help DeleteRevisions            # delete previous revisions of files in a project
  381.     Help MergeBranch                # merge a branch revision onto the trunk
  382.     Help ModifyReadOnly             # enables a read-only Projector file to be edited
  383.     Help MountProject               # mount projects
  384.     Help NameRevisions              # define a symbolic name
  385.     Help NewProject                 # create a new project
  386.     Help ObsoleteProjectorFile      # make a Projector file inactive
  387.     Help OrphanFiles                # remove Projector information from a list of files
  388.     Help Project                    # set or write the current project
  389.     Help ProjectInfo                # display information about a Project
  390.     Help RenameProjectorFile        # give Projector file a new name
  391.     Help RProj                      # send Projector command to SourceServer
  392.     Help TransferCkid               # move Projector information from one file to another
  393.     Help UnmountProject             # unmount projects
  394.     Help UnObsoleteProjectorFile    # make an inactive Projector file active again
  395.     
  396. -
  397. Resources
  398.     The following commands are used to process resources.  For details,
  399.     enter a command such as
  400.     
  401.     Help DeRez          # resource decompiler
  402.     Help ResEqual       # compares the resources in two files
  403.     Help Rez            # resource compiler
  404.     Help RezDet         # detect inconsistencies in resources
  405.     
  406. -
  407. Scripting
  408.     The commands in this list are particularly useful within scripts.  
  409.     To get details, enter a command such as
  410.     
  411.     Help AddMenu        # add a menu item
  412.     Help Alert          # display an alert box
  413.     Help Alias          # define or write command aliases
  414.     Help Beep           # generate tones
  415.     Help Begin          # group commands
  416.     Help Break          # break from For or Loop
  417.     Help Confirm        # display a confirmation dialog box
  418.     Help Continue       # continue with next iteration of For or Loop
  419.     Help Date           # write the date and time
  420.     Help DeleteMenu     # delete user-defined menus and menu items
  421.     Help DirectoryMenu  # create the Directory menu
  422.     Help DoIt           # highlight and execute a series of shell commands
  423.     Help Echo           # echo parameters
  424.     Help Evaluate       # evaluate an expression
  425.     Help Execute        # execute command file in the current scope
  426.     Help Exists         # confirm the existence of a file or directory
  427.     Help Exit           # exit from a command file
  428.     Help Export         # make variables available to commands
  429.     Help For            # repeat commands once per parameter
  430.     Help GetFileName    # display a Standard File dialog box
  431.     Help GetListItem    # display items for selection in a dialog box
  432.     Help If             # conditional command execution
  433.     Help Loop           # repeat commands until Break
  434.     Help Parameters     # write parameters
  435.     Help PlaySound      # play a sound ('snd ') resource
  436.     Help Quote          # echo parameters, quoting if needed
  437.     Help Request        # request text from a dialog box
  438.     Help ResolveAlias   # resolve aliases in pathname
  439.     Help RShell         # send a command to a "remote" shell
  440.     Help Set            # define or write Shell variables
  441.     Help Shift          # renumber command file positional parameters
  442.     Help Unexport       # remove variable definitions from the export list
  443.     Help Unset          # remove Shell variable definitions
  444.     
  445. -
  446. System
  447.     The following commands provide direct access from MPW to certain system
  448.     functions.  For help, enter a command such as
  449.     
  450.     Help Choose         # choose or list network file server volumes and printers
  451.     Help Date           # write the date and time
  452.     Help Gestalt        # output information about the operating environment
  453.     Help GetErrorText   # display error messages based on message number
  454.     Help SetPrivilege   # set access privileges for directories on file servers
  455.     Help Shutdown       # power down or restart the machine
  456.     Help TickCount      # returns current system Tick Count
  457.     
  458. -
  459. Window
  460.     The following commands are used to manipulate windows.  For details, 
  461.     enter a command such as
  462.     
  463.     Help AddPane        # split the window into panes
  464.     Help Close          # close specified windows
  465.     Help DeletePane     # delete panes from the window
  466.     Help Format         # set or display formatting options for a window
  467.     Help HideWindows    # hide specified windows
  468.     Help MoveWindow     # move window to h,v location
  469.     Help New            # open a new window
  470.     Help Open           # open file(s) in window(s)
  471.     Help RotatePanes    # make another window pane the active pane
  472.     Help RotateWindows  # send active (frontmost) window to back
  473.     Help Save           # save specified windows
  474.     Help SaveOnClose    # set save behavior when closing windows
  475.     Help ShowSelection  # place the selection within an editor window
  476.     Help ShowWindows    # make previous hidden windows visible
  477.     Help SizeWindow     # set a window's size
  478.     Help StackWindows   # arrange windows diagonally
  479.     Help Target         # make a window the target window
  480.     Help TileWindows    # arrange windows in a tiled fashion
  481.     Help Windows        # list windows
  482.     Help ZoomWindow     # enlarge or reduce a window's size
  483.  
  484. -
  485. CFM-68K
  486.     The following commands are used for CFM-68K development.  For details, 
  487.     enter a command such as
  488.     
  489.     Help Asm                # MC68xxx Macro Assembler
  490.     Help DumpCode           # write formatted CODE resources
  491.     Help DumpObj            # write formatted object file
  492.     Help DumpPEF            # dump formatted PEF file
  493.     Help DumpSYM            # dump formatted SYM or xSYM file
  494.     Help ILink              # incrementally link an application, tool, shared library or resource
  495.     Help ILinkToSYM         # generate .SYM file from ILink state file
  496.     Help Lib                # combine object files into a library file
  497.     Help MakeFlat           # flatten a segmented shared library created by ILink
  498.     Help MakeStub           # create a PowerPC, CFM-68K or fat stub library
  499.     Help MergeFragment      # merge code fragments
  500.     Help ModPEF             # extract, delete and/or modify PEF fragments
  501.     Help SC                 # Symantec C compiler
  502.     Help SCpp               # Symantec C++ compiler 
  503.  
  504. -
  505. PowerMacintosh
  506.     The following commands are used for Power Macintosh development.  For details,
  507.     enter a command such as
  508.     
  509.     Help DumpPEF            # dump formatted PEF file
  510.     Help DumpXCOFF          # write formatted XCOFF file
  511.     Help MakePEF            # XCOFF to PEF converter
  512.     Help MakeStub           # create a PowerPC, CFM-68K or fat stub library
  513.     Help MakeSYM            # extract SYM information from XCOFF
  514.     Help MergeFragment      # merge code fragments
  515.     Help ModPEF             # extract, delete and/or modify PEF fragments
  516.     Help MrC                # C Compiler for Macintosh On RISC
  517.     Help MrCpp              # C++ Compiler for Macintosh On RISC
  518.     Help MrPlus             # Post-link analysis of a Macintosh PowerPC™ executable for code 
  519.                             #   coverage or performance
  520.     Help PPCAsm             # PowerPC 60x Assembler
  521.     Help PPCLink            # link a PowerPC application, tool, shared library or static library
  522.     Help PPCProff           # analyze a .pgh file and display the results
  523.  
  524. -
  525. Launch
  526.  
  527. The command line used by MPW to launch an application consists of the name or path
  528. of the application and, optionally, a list of files and command line options.
  529.  
  530. A command line consisting of an application name will cause the application to be
  531. launched in the foreground.  If the application is already running, it will be
  532. brought to the foreground.
  533.  
  534. Any files listed on the command line will be opened by the application if it is 
  535. capable of opening them.  If the command line option -print is specified, the files
  536. will be printed instead of opened and the application will quit when it has finished
  537. printing the documents (unless it was already running).  (In previous versions of
  538. MPW, this option was -p.)
  539.  
  540. The following options are recognized:
  541.  
  542.     -print                  # print any files listed on the command line.
  543.     -background             # launch the application in the background
  544.     -quit                   # cause a running application to quit
  545.     -wait                   # delay resumption of Shell commands until the
  546.                             # application has quit
  547.     
  548. -
  549. Variables
  550.     To see the current value, enter a command such as Echo {<var name>}
  551.     
  552.     Variables defined by the MPW Shell:
  553.     
  554.     Echo {Active}           # full pathname of current active window
  555.     Echo {Aliases}          # list of all defined aliases
  556.     Echo {Boot}             # volume name of the boot disk
  557.     Echo {Command}          # full pathname of the last command executed
  558.     Echo {MPW}              # full pathname of the Macintosh Programmer's Workshop.
  559.     Echo {ShellDirectory}   # full pathname of the directory that contains the MPW Shell
  560.     Echo {Status}           # result of the last command executed (0 means successful)
  561.     Echo {SystemFolder}     # full pathname of the system folder
  562.     Echo {Target}           # full pathname of the target window
  563.     Echo {User}             # the current user name (initialized to the “Chooser” name)
  564.     Echo {Windows}          # list of current windows   
  565.     Echo {Worksheet}        # full pathname of the Worksheet window
  566.     
  567.     Variables used by the MPW Shell:
  568.     
  569.     Echo {AllowColorizing}  # provide color coding of syntax categories
  570.     Echo {AllowDraggingOut} # provide drag and drop
  571.     Echo {AllowMultipleUndo} # provide stacked multiple undo and redo
  572.     Echo {AllowWhiteSpaceDelimiter} # provide double clicking on space and tab characters
  573.     Echo {AutoIndent}       # auto indent setting used for new windows
  574.     Echo {CaseSensitive}    # control case sensitivity for searching
  575.     Echo {Commando}         # name of the commando tool
  576.     Echo {Commands}         # list of directories to search for commands
  577.     Echo {CursorForDragging} # set cursor used while dragging
  578.     Echo {DirectoryPath}    # list of common directories to speed changing directories
  579.     Echo {DynaScroll}       # control dynamic scrolling in windows
  580.     Echo {Echo}             # control the echoing of commands to diagnostic output
  581.     Echo {Exit}             # control script termination based on {Status}
  582.     Echo {ExtendWordSet}    # control behavior of cursor movement across word boundaries
  583.     Echo {Font}             # font used for new windows
  584.     Echo {FontSize}         # font size used for new windows
  585.     Echo {HeapCheck}        # control heap checking before and after tool call
  586.     Echo {HideHelpKey}      # deactivate "help" key on extended keyboard
  587.     Echo {IgnoreCmdPeriod}  # control use of cmd-. during critical sections
  588.     Echo {InhibitMarkCopy}  # control whether Marks are copied with the Edit:Copy menu command
  589.     Echo {NewKeyboardLayout}# control keyboard layout
  590.     Echo {NewWindowRect}    # window rectangle used for new windows (top, left, bottom, right)
  591.     Echo {PrefsFolder}      # contains path to location to be searched first for 
  592.                             #  startup, quit, worksheet, etc. files
  593.     Echo {PrintOptions}     # options used by the print menu commands
  594.     Echo {ScreenUpdateDelay} # control frequency of status box and cursor update
  595.     Echo {SearchBackward}   # control direction of searching
  596.     Echo {SearchType}       # control type of searching (literal/word/expression)
  597.     Echo {SearchWrap}       # control wrap-around search
  598.     Echo {StackOptions}     # options used by the Stack Windows menu command
  599.     Echo {SysTempFolder}    # contains path to system-defined location for temporary storage
  600.     Echo {Tab}              # tab size used for new windows
  601.     Echo {TempFolder}       # contains path to location to be used for temporary storage
  602.     Echo {Test}             # control execution of tools and applications
  603.     Echo {TileOptions}      # options used by the Tile Windows menu command
  604.     Echo {ToolSleepTime}    # value is passed to WaitNextEvent while command is running
  605.     Echo {TraceFailures}    # control sending of diagnostic message on abnormal
  606.                             #  termination of script
  607.     Echo {WordSet}          # set of characters that constitute a word
  608.     Echo {ZoomHeight}       # height to which window is to zoom (ZoomWindowRect not set)
  609.     Echo {ZoomWidth}        # width to which window is to zoom (ZoomWindowRect not set)
  610.     Echo {ZoomWindowRect}   # window rectangle used for a zoomed window (top, left, bottom, right)
  611.     
  612.     Variables automatically set before script execution:
  613.     
  614.     {0}                 name of the currently executing script
  615.     {1}, {2}, … {n}     first, second, and nth parameter to the script
  616.     {#}                 number of parameters
  617.     {Parameters}        equivalent to {1} {2} … {n}
  618.     {"Parameters"}      equivalent to "{1}" "{2}" … "{n}"
  619.     
  620.     Variables used for libraries and include files:
  621.     
  622.     Echo {AIncludes}        # directories to search for assembly-language include files
  623.     Echo {CFM68KLibraries}  # directory containing CFM-68K runtime library files
  624.     Echo {CIncludes}        # directories to search for C include files
  625.     Echo {CLibraries}       # directory containing C library files 
  626.     Echo {Libraries}        # directory containing Classic 68K runtime library files
  627.     Echo {PInterfaces}      # directory containing Pascal interface files
  628.     Echo {PPCLibraries}     # directory containing PowerPC library files
  629.     Echo {PLibraries}       # directory containing Pascal library files
  630.     Echo {RIncludes}        # directory containing Rez include files
  631.     Echo {SharedLibraries}  # directory containing shared library files
  632.     Echo {SMIncludes}       # standard path for .idl include files
  633.     Echo {SMDefines}        # standard defines for somc
  634.     Echo {SMOptions}        # standard options
  635.  
  636. -
  637. Characters
  638.  
  639.     The characters listed below have special meanings in the command language.
  640.  
  641.  
  642.     Space           Space separates words.
  643.     Tab             Tab also separates words.
  644.  
  645.     Return          Return separates commands.
  646.     ;               Semicolon also separates commands.
  647.     |               Pipe separates commands and pipes output to input.
  648.     &&              And separates commands, executing second if first succeeds.
  649.     ||              Or separates commands, executing second if first fails.
  650.     (…)             Parenthesis group commands.
  651.                     Parenthesis also group characters in filename patterns.
  652.  
  653.     #               Comment begins comments.
  654.  
  655.     ∂               Escape (Option-D) quotes the following character.
  656.     '…'             Single quote quotes all other characters.
  657.     "…"             Double quote quotes all characters except ∂, {, and `.
  658.     /…/             Slash quotes all characters except ∂, {, and `.
  659.     \…\             Backslash quotes all characters except ∂, {, and `.
  660.  
  661.     {…}             Braces denote variable substitution.
  662.     {{…}}            … special characters are "escaped".
  663.     `…`             Backquotes denote command substitution.
  664.     ``…``            … special characters are "escaped".
  665.  
  666.     ?               Question mark matches any character in filename patterns.
  667.     ≈               Approximately (Option-X) matches any string in patterns.
  668.     […]             Brackets enclose character sets in filename patterns.
  669.     *               Star indicates zero or more repetitions in patterns.
  670.     +               Plus indicates one or more repetitions in patterns.
  671.     «…»             European quotes (Option-\ and Option-Shift-\) enclose
  672.                     repeat counts.
  673.  
  674.     <               Less-than indicates an input file specification.
  675.     >               Greater-than indicates an output file specification.
  676.     >>              Indicates appending to an output file specification.
  677.     ≥               Greater-than-or-equal indicates a diagnostic specification.
  678.     ≥≥              Indicates appending to a diagnostic file specification.
  679.     ∑               Capital sigma (option-w) indicates both an output file and
  680.                     diagnostic output file specification.
  681.     ∑∑              Indicates appending to the output and diagnostic file
  682.                     specification.
  683.     
  684.     …               Ellipsis (Option-;) signals the Shell to use Commando
  685.  
  686. -
  687. Expressions
  688.  
  689.     Numbers may be expressed in decimal, hexadecimal, octal, or
  690.     binary.  Any of the following formats may be used:
  691.     
  692.     [0-9]+          decimal number
  693.     0x[0-9a-f]+     hexadecimal number
  694.     $[0-9a-f]+      hexadecimal number
  695.     0[0-7]+         octal number
  696.     0b[01]+         binary number
  697.     
  698.     The operators listed below are used in expressions in the
  699.     Evaluate, If, Else If, Break, Continue, and Exit commands.
  700.  
  701.     Alternate spellings of several operators are provided.
  702.     All of the operators are evaluated from left to right.
  703.     Operators with the highest precedence are listed first,
  704.     and operators in the same group have equal precedence.
  705.  
  706.  
  707.     (…)             expression grouping
  708.  
  709.     -               unary negation
  710.     ~               bitwise negation
  711.     !    NOT  ¬     logical NOT (¬ is Option-L)
  712.  
  713.     *               multiplication
  714.     ÷    DIV        division (÷ is Option-/)
  715.     %    MOD        modulus division
  716.  
  717.     +               addition
  718.     -               subtraction
  719.  
  720.     <<              shift left
  721.     >>              shift right
  722.  
  723.     <               less than
  724.     <=   ≤          less than or equal to (≤ is Option-<)
  725.     >               greater than
  726.     >=   ≥          greater than or equal to (≥ is Option->)
  727.  
  728.     ==              equal
  729.     !=   <>   ≠     not equal (≠ is Option-=)
  730.     =~              equal to a pattern
  731.     !~              not equal to a pattern
  732.  
  733.     &               bitwise AND
  734.  
  735.     ^               bitwise XOR
  736.  
  737.     |               bitwise OR
  738.  
  739.     &&   AND        logical AND
  740.  
  741.     ||   OR         logical OR
  742.  
  743. -
  744. Selections - selections specify a selection or insertion point
  745.  
  746.     §                       current selection (Option-6)
  747.     n                       line number n
  748.     !n                      line n lines after end of current selection
  749.     ¡n                      line n lines before start of selection (Option-1)
  750.     position                position (defined below)
  751.     markerName              selection marked by markerName
  752.     pattern                 pattern  (defined below)
  753.     (selection)             selection grouping
  754.     selection:selection     both selections and everything in between
  755.     
  756. position - positions specify an insertion point
  757.  
  758.     •                       position before first character of file (Option-8)
  759.     ∞                       position after last character of file (Option-5)
  760.     Δselection              position before first character of selection (Option-J)
  761.     selectionΔ              position after last character of selection (Option-J)
  762.     selection!n             position n characters after selection
  763.     selection¡n             position n characters before selection (Option-!)
  764.     
  765. pattern - patterns specify characters to be matched
  766.  
  767.     /entireRE/              regular expression - search forward
  768.     \entireRE\              regular expression - search backward
  769.     
  770.     Help Patterns           # See "Help Patterns" for more information.
  771.     
  772. -
  773. Patterns - Patterns specify characters to be matched
  774.  
  775.     /entireRE/              regular expression - search forward
  776.     \entireRE\              regular expression - search backward
  777.     
  778. entireRE
  779.  
  780.     •RE                     regular expression at beginning of line (Option-8)
  781.     RE∞                     regular expression at end of line (Option-5)
  782.     RE                      regular expression
  783.     
  784. RE
  785.  
  786.     simpleExpr              simple regular expression - defined below
  787.     (RE)®digit              tagged RE - refer to match as ®digit (Option-R)
  788.     'string'                literal - no characters within '…' are special
  789.     "string"                literal - only ∂, {, and ` are special within "…"
  790.     RE1RE2                  regular expression RE1 followed by RE2
  791.     
  792. simpleExpr
  793.     
  794.     (RE)                    regular expression grouping
  795.     charExpr                single character regular expression - defined below
  796.     simpleExpr*             simple expression zero or more times
  797.     simpleExpr+             simple expression one of more times
  798.     simpleExpr«n»           simple expression n times (Option-\, Option-Shift-\)
  799.     simpleExpr«n,»          simple expression at least n times
  800.     simpleExpr«n1,n2»       simple expression at least n1, at most n2 times
  801.     
  802. charExpr
  803.     
  804.     character               character (unless it has special meaning)
  805.     ∂character              character - defeats any special meaning (Option-D)
  806.     ?                       any character except Return
  807.     ≈                       zero or more characters, except Return (Option-X)
  808.     [charList]              any character in the list
  809.     [¬charList]             any character not in the list (Option-L)
  810.     
  811. charList
  812.     
  813.     [                       [ first in the list represents itself
  814.     ]                       ] first in the list represents itself
  815.     -                       - first in the list represents itself
  816.     character               character
  817.     charList character      list of characters
  818.     character-character     character range (e.g. A-Z)
  819.     
  820. -
  821. ShortCuts
  822.     The following is a list of MPW Shell shortcuts:
  823.     
  824.     Double click        select word
  825.     Triple click        select line
  826.     Double Clicking on any of the characters (,),[,],{,},',",/,\,`,“,”,‘,’ will
  827.         select everything between the character and its mate.
  828.  
  829.     LeftArrow                move insertion point one character to the left
  830.     RightArrow               move insertion point one character to the right
  831.     UpArrow                  move insertion point one line above current position
  832.     DownArrow                move insertion point one line below current position   
  833.     
  834.     Opt-LeftArrow            move insertion point one word to the left
  835.     Opt-RightArrow           move insertion point one word to the right
  836.     
  837.     Shift-LeftArrow          extend selection one character to the left
  838.     Shift-RightArrow         extend selection one character to the right
  839.     Shift-UpArrow            extend selection one line above current position  
  840.     Shift-DownArrow          extend selection one line below current position
  841.     
  842.     Shift-Opt-LeftArrow      extend selection one word to the left
  843.     Shift-Opt-RightArrow     extend selection one word to the right
  844.     
  845.     Cmd-LeftArrow            move insertion point to beginning of current line
  846.     Cmd-RightArrow           move insertion point to end of current line
  847.     Cmd-UpArrow              move insertion point up one screen size
  848.     Cmd-DownArrow            move insertion point down one screen size
  849.     
  850.     Cmd-Shift-LeftArrow      extend selection to beginning of current line
  851.     Cmd-Shift-RightArrow     extend selection to end of current line
  852.     Cmd-Shift-UpArrow        extend selection up one screen size
  853.     Cmd-Shift-DownArrow      extend selection down one screen size
  854.     
  855.     Cmd-Opt-UpArrow          move insertion point to beginning of file
  856.     Cmd-Opt-DownArrow        move insertion point to end of file
  857.     
  858.     Cmd-Shift-Opt-UpArrow    extend selection to beginning of file
  859.     Cmd-Shift-Opt-DownArrow  extend selection to end of file
  860.  
  861.     Delete                   delete character to the left
  862.     Del (Extended Keyboard)  delete character to the right
  863.     
  864.     Shift-Delete             delete character to the left
  865.     Shift-Del                delete character to the right
  866.     
  867.     Opt-Delete               delete word to the left
  868.     Opt-Del                  delete word to the right
  869.     
  870.     Cmd-Delete               delete from current position to end of file
  871.     Cmd-Del                  delete from current position to end of file
  872.     
  873.     Searching shortcuts
  874.         Cmd-Shift-G     reverse the direction of "Find Same"
  875.         Cmd-Shift-H     reverse the direction of "Find Selection"
  876.         Cmd-Shift-T     reverse the direction of "Replace Same"
  877.         Holding down Shift while selecting OK will reverse the direction
  878.             of "Find" and "Find and Replace"
  879.     
  880.     Holding down Option while selecting "Tile Windows" or "Stack Windows"
  881.         will include the worksheet in the tiling or stacking
  882.     Holding down Option while pressing Return will disable auto-indent
  883.         for that line.
  884.     Holding down Option while pressing Enter will invoke Commando on that
  885.         command line.
  886.     
  887.     In Dialogs without an EditText item
  888.         Y               Yes
  889.         N               No
  890.         CMD .           Cancel
  891.         ESC             Cancel
  892.  
  893. -
  894. AddMenu         # add a menu item
  895. AddMenu ([(menuName | -help) [-asis] [item [command…]] > menuList)
  896.         OR
  897.         (-link menu item submenu])
  898.     -asis                   # no metacharacter translation for menu item name
  899.     -help                   # a "menu name" for the balloon help menu
  900.     -link menu item submenu # define hierarchical menu
  901.     
  902.     Note: Item can contain the following metacharacters ("<char>" means
  903.     any character), unless the -asis option is used:
  904.         /<char>     Assign the keyboard equivalent Command-<char>
  905.         !<char>     Place <char> to the left of the menu item
  906.         ^n          Item has an icon, where n is the icon number
  907.         (           Item is disabled
  908.         <style      Item has a special style: "style" can be any of the following:
  909.                         B   Bold
  910.                         I   Italic
  911.                         U   Underline
  912.                         O   Outline
  913.                         S   Shadow
  914.  
  915.     Hierarchical menus are built like this:
  916.         # Create submenu
  917.         AddMenu SubMenu SubMenuItem1 "echo item1" 
  918.         AddMenu SubMenu SubMenuItem2 "echo item2" 
  919.         AddMenu SubMenu SubMenuItem3 "echo item3" 
  920.         AddMenu SubMenu SubMenuItem4 "echo item4" 
  921.         AddMenu SubMenu SubMenuItem5 "echo item5" 
  922.  
  923.         #Create topmenu
  924.         AddMenu Test Test1 "echo who cares"
  925.  
  926.         #now link it in
  927.         AddMenu -link Test Test1 SubMenu
  928.  
  929.  
  930. -
  931. AddPane         # split the window into panes
  932. AddPane [-p paneSpec] [-y ySplit | -h xSplit] [window]
  933.     -p paneSpec             # choose a pane to split
  934.     -y ySplit               # horizontal split at ySplit pixels from top
  935.     -x xSplit               # vertical split at xSplit pixels from left
  936.     
  937.     Note: paneSpec is an alternating catenation of strings of the 
  938.     form cm and rn, where m is a column ordinal and n is a row ordinal.
  939.  
  940. -
  941. Adjust          # adjust lines
  942. Adjust [option…] selection [window]
  943.     -c count                # repeat the Adjust count times
  944.     -l spaces               # shift lines by “spaces” spaces
  945.  
  946. -
  947. Alert           # display an alert box
  948. Alert [-s] [message…] < file
  949.     -s                      # silent, don't beep when dialog is displayed
  950.  
  951. -
  952. Alias           # define or write command aliases
  953. Alias [name [word…]]  > aliasList
  954.  
  955. -
  956. Align           # align text to left margin
  957. Align [-c count] selection [window]
  958.     -c count                # repeat the Align count times
  959.  
  960. -
  961. Asm             # MC68xxx Macro Assembler
  962. Asm [option…] [file…]  < file > listing ≥ progress
  963.     -addrsize size          # set size of address display
  964.     -blksize blocks         # use blocks * 512 byte I/O buffers
  965.     -case on                # distinguish between upper and lower case
  966.     -case obj[ect]          # preserve case in object file
  967.     -case off               # ignore case (default)
  968.     -c[heck]                # syntax check only, don't create object file
  969.     -d[efine] name          # equivalent to: name EQU 1
  970.     -d[efine] name=value    # equivalent to: name EQU value
  971.     -d[efine] &name         # equivalent to: &name SET[AC] 1
  972.     -d[efine] &name=value   # equivalent to: &name SET[AC] value
  973.     -e[rrlog] file          # write errors and warnings to file
  974.     -f                      # suppress page ejects in listing
  975.     -font name[,size]       # set listing font and size
  976.     -h                      # suppress page headers in listing
  977.     -i directory,…          # search for includes in directory,…
  978.     -l                      # write full listing to output
  979.     -lo file                # listing output file or directory
  980.     -model cfmseg           # generate a CFM-68K runtime compatible object file
  981.     -model far              # allow generation of load-time relocatable 32-bit references   
  982.     -model near             # prohibit generation of load-time relocatable 32-bit
  983.                             #   references (the default)
  984.     -o objname              # generate code in file or directory objname
  985.     -pagesize l[,w]         # set listing page length and width
  986.     -print mode             # equivalent to: PRINT mode
  987.     -p                      # write progress information to diagnostics
  988.     -s                      # write short listing to output
  989.     -sym off                # no symbolic records
  990.     -sym on|full            # full symbolic records; can modify with [,nolines] [,notypes] [,novars]
  991.     -t                      # write time and total lines to diagnostics
  992.     -w                      # suppress warnings
  993.     -wb                     # suppress warnings on branch instructions
  994.  
  995. -
  996. Backup          # folder file backup
  997. Backup [option…] -from folder -to folder [file…]  > commands ≥ progress
  998.     -a                      # copy all files in "from" not in "to"
  999.     -ay                     # suppress delete command's -ay option
  1000.     -alt                    # alternate prompts for disk drives
  1001.     -busy folder            # move busy files to specified folder
  1002.     -c                      # create "to" folders if they don't exist
  1003.     -check checkopt,…       # produce reports based on checkopt
  1004.                             # checkopt=from     "from" not in "to"
  1005.                             #          to       "to" not in "from"
  1006.                             #          allfroms "from" not in "to" even if none
  1007.                             #          alltos   "to" not in "from" even if none
  1008.                             #          folders  "from" folders not in "to"
  1009.                             #          newer    "to"s newer than "from"s
  1010.     -co filename            # redirect -check reports to filename
  1011.     -compare [only][,'opts']# write compare commands for out-of-date files
  1012.     -d                      # write delete commands for files in "to" not in "from"
  1013.     -do [only][,'command']  # write the command string specified by command…
  1014.     -e                      # eject disk when done
  1015.     -from folder|drive      # specify source folder or drive (1 or 2)
  1016.     -l                      # write directory listing of "from" files
  1017.     -lastcmd 'command'      # write the command string as the last command
  1018.     -level n                # restrict -a and -d to files beyond level n
  1019.     -m                      # multi-disk -- more than one "from" or "to" disk
  1020.     -n                      # show folder nesting by indenting commands 
  1021.     -noalias                # suppress generation of commands that would affect alias files
  1022.     -p                      # write progress information to diagnostics
  1023.     -r                      # recursively process nested folders
  1024.     -revert                 # revert "to" files to their "from" state
  1025.     -since date[,time]|fname# process only files since specified time
  1026.     -sync                   # synchronize both source and destination folders
  1027.     -t type                 # process only files of specified type
  1028.     -to folder|drive        # specify destination folder or drive (1 or 2)
  1029.     -y                      # suppress duplicate command's -y option
  1030.  
  1031.     Note:  A date is mm/dd/[yy]yy [[hh:mm[:ss]] [AM|PM]]
  1032.           ([yy]yy < 100 assumes 20th century, e.g. 19yy)
  1033.  
  1034. -
  1035. Beep            # generate tones
  1036. Beep [note [,duration [,level]]]…
  1037.     #   duration is given in sixtieths of a second (default is 15)
  1038.     #   sound level is given as a number from 0 to 255 (default is 128)
  1039.  
  1040. -
  1041. Begin           # group commands
  1042. Begin
  1043.     command…
  1044. End
  1045.  
  1046. -
  1047. Break           # break from For or Loop
  1048. Break [If expression]
  1049.  
  1050. -
  1051. Browser         # invoke Marker Browser
  1052.  
  1053.                 # The MPW Browser command is used to navigate source files or other text.  It 
  1054.                 # presents a window containing a list of the files in the current directory
  1055.                 # and, for the selected file, a list of markers.  Double-clicking on the marker
  1056.                 # opens the file with the selection point at the marker.  Entering a marker name
  1057.                 # in a text box searches all files in the directory for that marker, and if found 
  1058.                 # opens the file with the selection point at the marker.
  1059.  
  1060. -
  1061. BuildCommands   # show build commands
  1062. BuildCommands program [option…] > commands
  1063.     option…                 # Make command options
  1064.  
  1065. -
  1066. BuildMenu       # create the Build menu
  1067. BuildMenu
  1068.  
  1069. -
  1070. BuildProgram    # build the specified program
  1071. BuildProgram program [option…] > log
  1072.     option…                 # Make command options
  1073.  
  1074. -
  1075. Canon           # canonical spelling tool
  1076. Canon [option…] dictionary [file…]  < file > new
  1077.     -s                      # case sensitive replacement
  1078.     -a                      # assembler identifiers (include $, %, @)
  1079.     -c n                    # consider only the first n characters
  1080.  
  1081. -
  1082. Catenate        # concatenate files
  1083. Catenate [file…]  < file > catenation
  1084.  
  1085. -
  1086. CheckIn         # check a file into a project
  1087. CheckIn -w | -close | ([option…] files…) > progress
  1088.     -a                      # checkin all files in current directory
  1089.     -b                      # check in files… as branches
  1090.     -c                      # cancel if conflict occurs (avoids dialog)
  1091.     -cf file                # the comment is contained in file.
  1092.     -close                  # close the Check In window
  1093.     -cs comment             # a description of changes made to the file
  1094.     -delete                 # delete the file after checking it in
  1095.     -m                      # check out the files for modification after checking in
  1096.     -n                      # answer no to all dialogs (avoids dialogs)
  1097.     -new                    # add a new file to the project
  1098.     -p                      # write progress information to standard output
  1099.     -project project        # name of project that contains the files
  1100.     -t task                 # a short description of task accomplished
  1101.     -touch                  # touch the mod date of file after checking in
  1102.     -u user                 # name of current user
  1103.     -verify                 # verify the contents of the checked in file
  1104.     -w                      # open the Check In window
  1105.     -y                      # answer yes to all dialogs (avoids dialogs)
  1106.  
  1107. -
  1108. CheckOut        # check a file out from a project
  1109. CheckOut -w | -close | ([option…] name…) > progress *
  1110.     -a                      # check out all the files in the current project
  1111.     -b                      # checkout specified files on a new branch
  1112.     -c                      # cancel if conflict occurs (avoids dialog)
  1113.     -cancel                 # cancel the checkout of the files
  1114.     -cf file                # the comment is contained in files
  1115.     -close                  # close the Check Out window
  1116.     -cs comment             # a short description of changes
  1117.     -d dir                  # directory where the checked out files should go
  1118.     -deleteObsolete         # delete obsolete files found in the checkout directory
  1119.     -history                # store history in the ckid resource
  1120.     -m                      # check out a modifiable copy of the file
  1121.     -n                      # answer no to all dialogs (avoids dialogs)
  1122.     -newer                  # checkout latest copy of all files in the project
  1123.     -noTouch                # don't touch the mod date of the checked out files
  1124.     -obsolete               # checkout read-only version of obsoleted file 
  1125.     -open                   # open the files after checking out
  1126.     -p                      # write progress information to standard output
  1127.     -project project        # name of project that contains the files
  1128.     -r                      # recursively checkout files
  1129.     -t task                 # a short description of task accomplished
  1130.     -touchOnly              # checkout and touch only those members of a nameRevisions
  1131.                             #  set that are not already checked out
  1132.     -u user                 # name of current user
  1133.     -update                 # checkout latest copy of all files you already have
  1134.     -verify                 # verify the contents of the checked out file
  1135.     -w                      # open the Check Out window
  1136.     -y                      # answer yes to all dialogs (avoids dialogs)
  1137.     
  1138.     * name = file name | NameRevisions name
  1139.  
  1140. -
  1141. CheckOutDir     # specify the directory where checked out files will placed
  1142. CheckOutDir [-project project | -m] [-r] [-x | directory]
  1143.     -project project        # name of project to associate with the checkout directory
  1144.     -m                      # list the checkout directories of all root projects
  1145.     -r                      # recursively set or display the checkout directories
  1146.     -x                      # reset the checkout directories to ":"
  1147.  
  1148. -
  1149. Choose          # choose or list network file server volumes and printers
  1150. Choose [option…] [zone]:[server[:volume]] …
  1151.     -askpw                  # ask for server password (in a "safe" dialog box)
  1152.     -askvp                  # ask for volume password (in a "safe" dialog box)
  1153.     -atalk                  # mount server via AppleTalk instead of TCP
  1154.     -c                      # display -list output in the form of "Choose" commands
  1155.     -cp                     # list name, type and driver of current printer
  1156.     -dr driverName          # the driver name of the print server being mounted (e.g. "LaserWriter")
  1157.     -guest                  # log-in to the file server as a guest
  1158.     -list                   # list entities (don't choose them)
  1159.     -p                      # write version and progress information to standard output
  1160.     -pr                     # choose a print server (instead of file servers)
  1161.     -pw serverPassword      # specify server password
  1162.     -type typeName          # specify type of entity to list or choose (or '≈')
  1163.     -u userName             # specify user name for server log-in
  1164.     -v                      # verbose (list all mounted file server volumes)
  1165.     -vp volumePassword      # specify volume password
  1166.  
  1167.     The wildcard '≈' may be used in place of a zone, server, volume or
  1168.     type name.  A leading ':' (empty zone name) or '*:' indicates the
  1169.     current zone.  A name of the form "…server:" will mount all volumes
  1170.     on the server, unless a specific volume name is given.
  1171.  
  1172. -
  1173. Clear           # clear the selection
  1174. Clear [-c count] selection [window]
  1175.     -c count                # repeat the Clear count times
  1176.  
  1177. -
  1178. Close           # close specified windows
  1179. Close [-y | -n | -c] [ -a | window…]
  1180.     -y                      # save modified windows before closing (avoids dialog)
  1181.     -n                      # don't save any modified windows (avoids dialog)
  1182.     -c                      # cancel if there is a modified window (avoids dialog)
  1183.     -a                      # close all the windows
  1184.  
  1185. -
  1186. CMarker     # generate Mark commands for C and C++ function definitions
  1187. CMarker [option…] [file…]
  1188.     -a[nachronisms]         # suppress anachronisms messages
  1189.     -d[efine] name[=string] # define name to the preprocessor (same as #define)
  1190.         [,name[=string]]… 
  1191.     -e                      # show macro expansion in the listing (default with -ppout)
  1192.     -ext[ensions] on|off    # turn on or off Apple compiler extensions (default on)
  1193.     -errors                 # suppress marking if errors are detected
  1194.     -i[ncludes] pathname    # search for include files in the specified directories (Max of 15)
  1195.         [,pathname],… 
  1196.     -lang[uage] C|"C++"     # specify target sources as either C or C++ (Default is C)
  1197.     -linesize n             # maximum number of characters generated in a single listing line
  1198.     -l[ist[ing]]            # generate a listing of the source to stdout
  1199.     -mc68881                # define the macro name mc68881 as having the value 1
  1200.     -msi                    # mark include (header) files
  1201.     -pp                     # preprocessing only (no markers will be generated)
  1202.     -ppout filename         # write the preprocessor output to the specified filename
  1203.     -p[rogress]             # write version, progress and summary information to stderr
  1204.     -showskipped            # show lines skipped by conditional compilation in the listing output
  1205.     -t                      # display processing time and number of lines to stderr
  1206.     -u[ndefine] name        # undefine the preprocessor symbol name  (same as #undef)
  1207.         [,name]…    
  1208.  
  1209. -
  1210. Commando        # present a dialog interface for commands
  1211. Commando [command] [-modify]
  1212.     -modify                 # enable Commando’s built-in editor
  1213.  
  1214. -
  1215. Compare         # compare text files
  1216. Compare [option…] file1 [file2]  < file2 > differences ≥ progress
  1217.     -b                      # treat several blanks or tabs as a single blank
  1218.     -c c1-c2[,c1-c2]        # compare only specified columns
  1219.     -d depth                # maximum stack depth
  1220.     -e context              # display specified number of context lines
  1221.     -g groupingFactor       # grouping factor (matching lines for resync)
  1222.     -h width                # write differences horizontally
  1223.     -l                      # lower case (i.e. ignore case differences)
  1224.     -m                      # suppress displays of mismatched lines
  1225.     -n                      # don't write to output if files match
  1226.     -p                      # write progress information to diagnostics
  1227.     -s                      # use static grouping factor
  1228.     -selection set          # highlight first mismatch (for CompareFiles only)
  1229.     -selection next         # highlight next mismatch (for CompareFiles only) 
  1230.     -t                      # ignore trailing blanks
  1231.     -v                      # suppress line numbers in vertical displays
  1232.     -w max                  # set max input line length to max (default: 255, max max: 1024)
  1233.     -x                      # don't expand tabs
  1234.  
  1235. -
  1236. CompareFiles    # compare text files and interactively view differences
  1237. CompareFiles [option…] oldFile newFile
  1238.     -9                      # assume a screen size of 512 x 342
  1239.     -13                     # assume a screen size of 640 x 480
  1240.     -16                     # assume a screen size of 832 x 624 (16" RGB)
  1241.     -LC                     # assume a screen size of 512 x 384 (12" RGB)
  1242.     -b x y                  # tile windows into the rectangle specified by x y
  1243.     -Portrait               # screen size for Apple Macintosh Portrait Display
  1244.     -TwoPage                # screen size for Apple Two-Page Monochrome Monitor
  1245.     -r t,l,b,r              # specify rectangle in global pixel coordinates;
  1246.                             #  0,0 is upper left corner of primary monitor
  1247.     -topdown                # perform comparison from top to bottom
  1248.  
  1249. -
  1250. CompareRevisions # compare two revisions of a file in a project
  1251. CompareRevisions file
  1252.  
  1253. -
  1254. Confirm         # display a confirmation dialog box
  1255. Confirm [-t] [message…] < file
  1256.     -t                      # three buttons (Yes, No, Cancel)
  1257.     
  1258.     Note: The following status values are returned:
  1259.          0    "OK" selected in a two-button box, "Yes" in a three-button box
  1260.          1    Syntax error
  1261.          4    "Cancel" selected in a two-button box, "No" in a three-button box
  1262.          5    "Cancel" selected in a three-button box
  1263.  
  1264. -
  1265. Continue        # continue with next iteration of For or Loop
  1266. Continue [If expression]
  1267.      
  1268. -
  1269. Copy            # copy selection to Clipboard
  1270. Copy [-c count] selection [window]
  1271.     -c count                # copy the nth selection, where n = count
  1272.  
  1273. -
  1274. Count           # count lines and characters
  1275. Count [option…] [file…]  < file > counts
  1276.     -l                      # write only line counts
  1277.     -c                      # write only character counts
  1278.  
  1279. -
  1280. CreateMake      # create a simple makefile
  1281. CreateMake [ -68k | -PowerPC | -Fat ] [ -Application | -Tool | -DA | -CR | -SIOW | -SHRLIB ]
  1282.                 [ -sym on ] [ -depends ] [ -c creator ] [-export exportSymbol] 
  1283.                 [ -opt (local | size | speed1 | speed2 | speed3 | speed4) ] 
  1284.                 [ -mc68020 | -mc68881 | -elems881 ] [ -t fileType ] [ -m mainEntryPoint ] 
  1285.                 [ -rt resourceType ] [ -i path ] programname [file…]
  1286.     -Application            # create an Application (default)
  1287.     -c creator              # optional Creator for Application or Code Resource
  1288.     -Tool                   # create a Tool
  1289.     -DA                     # create a Desk Accessory
  1290.     -CR                     # create a Code Resource
  1291.     -SIOW                   # create a Simple Input/Output Window
  1292.     -export exportSymbol    # specify an exported symbol for a shared library
  1293.     -m mainEntryPoint       # required Main Entry Point for Code Resource
  1294.     -rt resourceType        # required Resource Type for Code Resource
  1295.     -t type                 # optional File Type for Code Resource
  1296.     -sym on                 # include debugging information in the object file
  1297.     -mc68020                # generate 68020 instructions
  1298.     -mc68881                # generate 68881 instructions for elementary operations
  1299.     -elems881               # generate 68881 instructions for transcendental functions
  1300.     -depends                # generate dependencies for include files for C and C++ source
  1301.     -PowerPC                # generate code for the PowerPC microprocessor family
  1302.     -68K                    # generate code for the 68000 microprocessor family
  1303.     -opt local | size |     # specify PowerPC C/C++ Compiler optimization options
  1304.          speed 1 | speed 2  #
  1305.          speed 3 | speed 4  #
  1306.     -SHRLIB                 # create a shared library (not yet implemented)
  1307.     -i path                 # specify an include file path to be searched for compiles.
  1308.     -fat                    # generate a "fat" application containing 68000-family
  1309.                             #   and PowerPC-family code.
  1310.  
  1311. -
  1312. Cut             # copy selection to Clipboard and delete it
  1313. Cut [-c count] selection [window]
  1314.     -c count                # cut the next count selections
  1315.  
  1316. -
  1317. Date            # write the date and time
  1318. Date ([-a | -s] [-d | -t] [-c seconds]) | [-n] > date
  1319.     -a                      # abbreviated date (e.g. Wed, Jun 14, 1995)
  1320.     -s                      # short date (e.g. 6/14/95)
  1321.     -d                      # write date only
  1322.     -t                      # write time only
  1323.     -c seconds              # write date corresponding to seconds
  1324.     -n                      # write seconds since January 1, 1904
  1325.  
  1326. -
  1327. Delete          # delete files and directories
  1328. Delete [-y | -n | -c] [-i] [-p] name…  ≥ progress
  1329.     -y                      # delete directory contents (avoids dialog)
  1330.     -n                      # don't delete directory contents (avoids dialog)
  1331.     -c                      # cancel if a directory is to be deleted (avoids dialog)
  1332.     -ay                     # delete alias files (avoids dialog)
  1333.     -an                     # don't delete alias files (avoids dialog)
  1334.     -ac                     # cancel if an alias file is to be deleted (avoids dialog)
  1335.     -i                      # ignore errors (no diagnostics)
  1336.     -p                      # write progress information to diagnostics
  1337.  
  1338. -
  1339. DeleteMenu      # delete user-defined menus and menu items
  1340. DeleteMenu [(menuName | -help) [itemName]]
  1341.     -help                   # a "menu name" for the balloon help menu
  1342.  
  1343. -
  1344. DeleteNames     # delete user-defined symbolic names
  1345. DeleteNames [-u user] [-project project] [-public | -private] [-r] [names… | -a]
  1346.     -u user                 # name of current user
  1347.     -private                # delete private names
  1348.     -project project        # name of project that contains the files
  1349.     -public                 # delete public names (the default)
  1350.     -r                      # delete names recursively
  1351.     -a                      # delete all names
  1352.  
  1353. -
  1354. DeletePane      # delete panes from the window
  1355. DeletePane [-p paneSpec | -a] [window]
  1356.     -p paneSpec             # choose a  pane to delete
  1357.     -a                      # reset the window to one pane
  1358.     
  1359.     Note: paneSpec is an alternating catenation of strings of the 
  1360.     form cm and rn, where m is a column ordinal and n is a row ordinal.
  1361.  
  1362. -
  1363. DeleteRevisions # delete previous revisions of files in a project
  1364. DeleteRevisions [option…] revision…
  1365.     -u user                 # name of current user
  1366.     -project project        # name of project that contains the files
  1367.     -file                   # deletes the file and all its revisions
  1368.     -y                      # delete the file/revision (avoids dialog)
  1369.  
  1370. -
  1371. DeRez           # resource decompiler
  1372. DeRez [option…] resourceFile [file…]  > description ≥ progress
  1373.     -c[ompatible]           # generate output compatible with Rez 1.0
  1374.     -e[scape]               # don't escape chars < $20 or > $D8
  1375.     -d[efine] name[=value]  # equivalent to #define name [value]
  1376.     -i[nclude] pathname     # search this path when looking for #include files
  1377.     -m[axstringsize] n      # write strings n characters per line
  1378.     -noResolve              # do not resolve leaf aliases for the resource file
  1379.     -only typeExpr          # process only resources of this type
  1380.     -p[rogress]             # write progress information to diagnostics
  1381.     -rd                     # suppress warnings for redeclared types
  1382.     -script language        # specify the character set (see second Note)
  1383.     -s[kip] typeExpr        # skip resources of this type
  1384.     -u[ndef] name           # equivalent to #undef name
  1385.  
  1386.     Note: A typeExpr may have one of these forms:
  1387.           type
  1388.         "'type'(id)"
  1389.         "'type'(id:id)"
  1390.         "'type'(∂"name∂")"
  1391.  
  1392.     Note: The following languages may be used with the -script option:
  1393.             Roman   (default)
  1394.             Japanese
  1395.             Korean
  1396.             SimpChinese
  1397.             TradChinese
  1398.  
  1399. -
  1400. Directory       # set or write the default directory
  1401. Directory [-q | directory]  > directory
  1402.     -q                      # don't quote directories with special characters
  1403.  
  1404. -
  1405. DirectoryMenu   # create the Directory menu
  1406. DirectoryMenu [directory…]
  1407.  
  1408. -
  1409. DoIt            # highlight and execute a series of shell commands
  1410. DoIt (CommandFile [-echo] [-dump]) | [-selection]
  1411.     -echo                   # echo commands before execution
  1412.     -dump                   # dump unexecuted commands after error
  1413.     -selection              # execute command in the current selection
  1414.  
  1415. -
  1416. DumpCode        # write formatted CODE resources
  1417. DumpCode [option…] resourceFile  > dump ≥ progress
  1418.     -n                      # dump only resource names
  1419.     -d                      # don't dump object code
  1420.     -h                      # don't write headers (offsets, hex, etc.)
  1421.     -a                      # show offsets from beginning of segment
  1422.     -jt                     # don't dump jump table
  1423.     -di                     # don't dump data initialization info
  1424.     -ri                     # don't dump a5- and segment-relocation info
  1425.     -p                      # write progress information to diagnostics
  1426.     -r byte1[,byte2]        # dump code from address byte1 (through byte2)
  1427.     -rt type[=id]           # dump only resources with this type (and id)
  1428.     -s name                 # dump only resource with this name
  1429.  
  1430. -
  1431. DumpFile        # display contents of any file
  1432. DumpFile  [option…] filename > dump ≥ progress
  1433.     -rf                     # display the resource fork of the file. (Default is data fork.)
  1434.     -bf                     # display both forks of the file
  1435.     -a                      # suppress display of ASCII character values.
  1436.     -a7                     # ignore high-order bit when displaying ASCII text
  1437.     -h                      # suppress display of hexadecimal characters.
  1438.     -o                      # suppress display of file offsets.
  1439.     -w nn                   # width - display nn bytes on each line of output.
  1440.     -g nn                   # group nn bytes together without intervening spaces.
  1441.     -p                      # write progress information to diagnostic output.
  1442.     -r byte1[,byteN]        # display only the byte range from byte1 to byteN.
  1443.     -noResolve              # suppress alias resolution
  1444.  
  1445. -
  1446. DumpObj         # write formatted object file
  1447. DumpObj [option…] objectFile  > dump ≥ progress
  1448.     -co                     # only dump disassembly
  1449.     -d                      # don't dump object code
  1450.     -h                      # don't write headers (offsets, hex, etc.)
  1451.     -i                      # use ids, rather than names, in dump
  1452.     -jn                     # just use names, rather than ids, in dump
  1453.     -l                      # dump file locations of object records
  1454.     -m name                 # dump only module "name" or module containing 
  1455.                             # entry-point "name" (-m option may be used repeatedly)
  1456.     -n                      # dump only the dictionary of names
  1457.     -p                      # write progress information to diagnostics
  1458.     -r byte1[,byte2]        # dump code from byte1 in file (through byte2)
  1459.     -sym [Off]              # disable symbolic output
  1460.          [On | Full]        # enable symbolic output (default), can be followed by:
  1461.             [,NoLabels]     #   omit label information
  1462.             [,NoLines]      #   omit source line information
  1463.             [,NoTypes]      #   omit type information
  1464.             [,NoVars]       #   omit variable information
  1465.     -mods                   # dump a module summary with entry point information
  1466.     -mh                     # omit module summary header
  1467.  
  1468. -
  1469. DumpPEF         # Display the contents of a PEF container
  1470. DumpPEF [option…] file… > dump ≥ progress
  1471.     -a[nnotate]             # annotate each PEF field.
  1472.     -cache on | off         # enable/disable data caching (default is on)
  1473.     -c[heck]                # check only, suppress all output
  1474.     -dialect cpu            # set disassembly dialect to cpu, where cpu is:
  1475.         Power | Pwr         #   RS/6000 Power
  1476.         PowerPC601 | PPC601 #   601
  1477.         PowerPC32  | PPC32  #   32-bit PowerPC
  1478.         PowerPC64  | PPC64  #   64-bit PowerPC
  1479.     -do All | optLetters    # process all or selected PEF sections; optLetters:
  1480.                  r          #   'cfrg' + 'rseg' resources
  1481.                  h          #   main header + section headers (default)
  1482.                  y          #   section header string table
  1483.                  a          #   all raw data sections except code and data
  1484.                  c | t      #   code (text) section
  1485.                  d          #   data section
  1486.                  p          #   pidata section
  1487.                  k          #   constant section
  1488.                  x          #   exec data section
  1489.                  l          #   loader section (hdrs + relocations + symbols) (default)
  1490.                  g          #   debug section
  1491.                  e          #   exception section
  1492.                  b          #   trace back section
  1493.     -fmt fmtParams          # same as -format.
  1494.     -forks whichForks       # process only those containers in the specified fork(s).
  1495.            rsrc | resource  #   process only containers in resource fork
  1496.            data             #   process only containers in data fork
  1497.            both | all       #   process all containers in both forks (default)
  1498.     -format on | off[=opt]  # specify code section formatting (default is off); opt:
  1499.                  d          #   show d(RA) displacements in decimal instead of hex
  1500.                  f          #   show fields in decimal instead of hex
  1501.                  h | $      #   show hex values with leading '$' instead of '0x'
  1502.                  i | s      #   show signed immediates in decimal instead of hex
  1503.                  m          #   show hex with the smallest even number of hex digits
  1504.                  p          #   show PC-relative values in decimal instead of hex
  1505.                  u          #   show unsigned immediates in decimal instead of hex
  1506.                  x          #   show extended mnemonics (except when -dialect power)
  1507.                  2          #   show neg hex in 2's comp. instead of negated hex
  1508.     -h                      # display this help info (or run tool with no arguments).
  1509.     -ibm                    # format disassembly using IBM assembly conventions.
  1510.     -ldr All | ldrLetter    # finer control over loader (-do l) section; ldrLetter:
  1511.                  h          #   loader header (default)
  1512.                  f          #   loader import IDs
  1513.                  i          #   loader import symbol table (default)
  1514.                  r          #   loader relocation header + instructions (default)
  1515.                  y          #   loader string table
  1516.                  t          #   loader hash slot table
  1517.                  c          #   loader export chain table
  1518.                  x          #   loader export symbol table (default)
  1519.                  n          #   loader export symbol names
  1520.                  a          #   all except export slot and chain tables
  1521.     -loader ALL | ldrLetter # Same as -ldr.
  1522.     -mark                   # add MPW Shell markers to titles in output
  1523.     -maxlines n             # limit section displays (except headers) to n lines.
  1524.     -o[ffsets]              # suppress PEF container offsets.
  1525.     -p                      # display progress info to stderr.
  1526.     -pi[data] piLetter      # further qualifies pidata (-do p) processing; piLetter:
  1527.                  u          #   display the unpacked data produced by the pidata
  1528.                  v          #   "vertical" pidata display (each rpt on new line)
  1529.                  i          #   show only the pidata instructions and no encodings
  1530.     -sect[ion] n            # limit section relative processing to only section n (n ≥ 0)
  1531.     -stripped               # Suppress titles, break lines, summary info & offsets
  1532.     -summarize              # summarize results (implied by -p).
  1533.     -u[nmangle]             # unmangle symbols.
  1534.     -v[erbose]              # same as -annotate.
  1535.     -w                      # suppress warnings.
  1536.     -w601                   # show explicit warnings for Power instructions and 601 SPRs
  1537.  
  1538. -
  1539. DumpSYM         # dump formatted SYM file
  1540. DumpSYM [option] symFile
  1541.     -only t1[,t2…]          # dump only listed tables
  1542.     -allbut t1[,t2…]        # dump all tables except those listed
  1543.                             
  1544.     Tables are:
  1545.         CLTE                # Contained Label Table
  1546.         CMTE                # Contained Module Table
  1547.         CSNTE               # Contained Statement Table
  1548.         CTTE                # Contained Type Table
  1549.         CVTE                # Contained Variable Table
  1550.         FITE                # File Information Table
  1551.         FRTE                # File Reference Table
  1552.         MTE                 # Module Table
  1553.         RTE                 # Resource Table
  1554.         TINFO               # Type Information Table
  1555.         TTE                 # Type Table
  1556.                             #   (same as TINFO but more human readable)
  1557.  
  1558. -
  1559. DumpXCOFF       # write formatted XCOFF file
  1560. DumpXCOFF [option…] xcoffFile… >output
  1561.     -a[nnotate]             # Annotate each XCOFF field.
  1562.     -cache on | off         # Enable/disable section hdrs, symbol and string tbl caching.
  1563.     -c[heck]                # Check only.  All output is suppressed on whatever is processed.
  1564.     -dialect cpu            # Set disassembly dialect to cpu, where cpu is,
  1565.                             #   Power      | Pwr    ==> RS/6000 Power
  1566.                             #   PowerPC601 | PPC601 ==> 601
  1567.                             #   PowerPC32  | PPC32  ==> 32-bit PowerPC
  1568.                             #   PowerPC64  | PPC64  ==> 64-bit PowerPC
  1569.     -do All |               # Process the specified XCOFF sections, either "All" or
  1570.       optLetters            #   selected sections specified by one or more of the
  1571.                             #   optLetters:
  1572.                             #       h    main header + opt aux header + section headers
  1573.                             #       r    relocation information
  1574.                             #       n    line number information
  1575.                             #       s    symbol table + string table
  1576.                             #       y    string table
  1577.                             #       a    all raw data sections (except .pad)
  1578.                             #       l    loader section
  1579.                             #       g    debug section
  1580.                             #       c    type check section
  1581.                             #       x    exception section
  1582.                             #       i    info (comment) section
  1583.                             #       t    text section
  1584.                             #       d    data section
  1585.                             #       b    bss section
  1586.     -fmt fmtParams          # Same as -format.
  1587.     -format fmtParams       # Change standard disassembly formatting options. The
  1588.                             #   fmtParams has the following syntax:
  1589.                             #       <on> | <off> | <fmtParams>,<on> | <fmtParams>,<off>
  1590.                             #           <on>  = ON=<fmtOptions>
  1591.                             #           <off> = OFF=<fmtOptions>
  1592.                             #   The <fmtOptions> are one or more of the following:
  1593.                             #       d     show d(RA) displacements in decimal instead of hex
  1594.                             #       f     show fields in decimal instead of hex
  1595.                             #       h | $ show hex values with leading '$' instead of '0x'
  1596.                             #       i | s show signed immediates in decimal instead of hex
  1597.                             #       m     show hex with the smallest even nbr of hex digits
  1598.                             #       p     show PC-relative values in decimal instead of hex
  1599.                             #       u     show unsigned immediates in decimal instead of hex
  1600.                             #       x     show extended mnemonics (except when -dialect power)
  1601.                             #       2     show neg hex in 2's comp. instead of negated hex
  1602.     -h | -?                 # Display help info (or run tool with no arguments).
  1603.     -ibm                    # Format disassembly using IBM assembly conventions.
  1604.     -i dir1,...             # Interlisting with dirN's as directory search paths.
  1605.     -ln                     # Show file/line numbers associated with disassembly.
  1606.     -m name1,...            # Disassemble only the specified functions (name1,...).
  1607.     -mark                   # Add MPW Shell markers to titles in output.
  1608.     -m[ark]f[uncts]         # Add markers to function labels (implies -mark).
  1609.     -maxlines n             # Limit section displays (except headers) to n lines.
  1610.     -n[ames] spec           # List symbol table or Loader section symbols ONLY, where
  1611.                             #   spec has the following syntax:
  1612.                             #     <keyword>[(<csectType>)][{<csectClass>}]
  1613.                             #   or,
  1614.                             #     <keyword>[,<csectType>][,<csectClass>]
  1615.                             #   and,
  1616.                             #     <keyword>   = All | AllLdr | Funct[ion][s] | <symClass> | <ldrSymClass>
  1617.                             #   <symClass>    = symbol table C_xxxx class (e.g., C_EXT)
  1618.                             #   <ldrSymClass> = <ldrClass> | <ldrSymClass><op><ldrClass>
  1619.                             #   <op>          = '|' | '&'
  1620.                             #   <ldrClass>    = Imp | Exp | Ent
  1621.                             #   <csectType>   = the 'xx' of XTY_xx (ER,SD,LD,CM,HL,EM,US)
  1622.                             #   <csectClass>  = the 'xx' of XMC_xx (PR, RO, RW, TC0, etc.)
  1623.                             #   Funct[ion][s] = "C_EXT(LD){PR}".
  1624.                             #   Note: Be careful of quoting if you use the braces in MPW!
  1625.     -ntb                    # Assume traceback tables are NOT present.
  1626.     -o[ffsets]              # Suppress XCOFF file offsets.
  1627.     -only name1,...         # Same as -m.
  1628.     -p                      # Display progress info to stderr.
  1629.     -powerOpen              # Add validations specific to PowerOpen.
  1630.     -sect[ion] s            # Limit section relative processing to only section s.
  1631.                             #   s is a number or a section name, e.g., ".text".
  1632.     -summarize              # Summarize results (implied by -p).
  1633.     -tb                     # Disassemble traceback tables if present.
  1634.     -u[nmangle]             # Unmangle symbols.
  1635.     -v[erbose]              # Same as -annotate.
  1636.     -w                      # Suppress warnings.
  1637.     -w601                   # Show explicit warnings for Power instructions (done only when
  1638.                             #   when -dialect is PPC601).
  1639.     -y                      # Suppress "beep" in -summarize Power instruction message
  1640.     -z c                    # Pathname separator char is 'c' (default ':').
  1641.     
  1642.     Default options are: -dialect PPC601 -do htdb -fmt on=xsf -cache on
  1643.     
  1644. -
  1645. Duplicate       # duplicate files and directories
  1646. Duplicate [-y | -n | -c] [-p] [-d | -r] name… target  ≥ progress
  1647.     -y                      # overwrite target files (avoids dialog)
  1648.     -n                      # don't overwrite target files (avoids dialog)
  1649.     -c                      # cancel if conflict occurs (avoids dialog)
  1650.     -p                      # write progress information to diagnostics
  1651.     -d                      # duplicate data fork only
  1652.     -r                      # duplicate resource fork only
  1653.     -rs                     # resolve leaf aliases in the source path(s)
  1654.     -rt                     # resolve leaf aliases in the target path
  1655.     -f                      # preserve Finder icon locations
  1656.  
  1657. -
  1658. Echo            # echo parameters
  1659. Echo [-n] [parameter…]  > parameters
  1660.     -n                      # don't write return following the parameters
  1661.  
  1662. -
  1663. Eject           # eject volumes
  1664. Eject [-m] volume…
  1665.     -m                      # leave the volume mounted
  1666.  
  1667. -
  1668. Entab           # convert runs of spaces to tabs
  1669. Entab [option…] [file…]  < file > tabbed ≥ progress
  1670.     -a minValue             # Min run of blanks that can be replaced with a tab
  1671.     -d tabValue             # input tab setting
  1672.     -l quote…               # left quotes that prevent EnTab (default '")
  1673.     -n                      # no quote characters, EnTab everything
  1674.     -p                      # write progress information to diagnostics
  1675.     -q quote…               # quotes that prevent EnTab (default '")
  1676.     -r quote…               # right quotes that prevent EnTab (default '")
  1677.     -t tabValue             # output tab setting
  1678.  
  1679. -
  1680. Equal           # compare files and directories
  1681. Equal [-d | -r] [-i] [-p] [-q] [-n count] name… target  > differences ≥ progress
  1682.     -d                      # compare data forks only
  1683.     -r                      # compare resource forks only
  1684.     -i                      # ignore files in target not in directory name
  1685.     -n count                # display only the number of difference instances
  1686.                             #  specified in "count"
  1687.     -p                      # write progress information to diagnostics
  1688.     -q                      # quiet - don't write output, just set {Status}
  1689.     -resolve                # resolve leaf aliases on input paths
  1690.  
  1691. -
  1692. Erase           # initialize volumes
  1693. Erase [option…] volume…
  1694.     -y                      # yes - erase the disk (avoids dialog)
  1695.     -s                      # single-sided - 400K (default 800K)
  1696.  
  1697. -
  1698. Evaluate        # evaluate an expression
  1699. Evaluate [-h | -o | -b] [word…]  > value
  1700. Evaluate Name [binary operator]= expression
  1701.     -h                      # display result in hexadecimal (leading 0x)
  1702.     -o                      # display result in octal (leading 0)
  1703.     -b                      # display result in binary (leading 0b)
  1704.  
  1705. -
  1706. Execute         # execute command file in the current scope
  1707. Execute commandFile
  1708.  
  1709. -
  1710. Exists          # confirm the existence of a file or directory
  1711. Exists [-d | -f | -w] [-q] name…  > file
  1712.     -a                      # write only paths to aliases (implies -n)
  1713.     -d                      # check if name is a directory
  1714.     -f                      # check if name is a file
  1715.     -n                      # do not resolve leaf aliases on input paths
  1716.     -w                      # check if name is a file and writeable
  1717.     -q                      # don't quote file names with special characters
  1718.  
  1719. -
  1720. Exit            # exit from a command file
  1721. Exit [status] [If expression]
  1722.  
  1723. -
  1724. Export          # make variables available to commands
  1725. Export [-r | -s | name…]  > exports
  1726.     -r                      # generate Unexport commands for all exported variables
  1727.     -s                      # print the names only
  1728.  
  1729. -
  1730. FileDiv         # divide a file into several smaller files
  1731. FileDiv [option…] file [prefix]  ≥ progress
  1732.     -b                      # input is a byte stream instead of lines
  1733.     -f                      # split file at formfeed character
  1734.     -n splitPoint           # split file after splitPoint lines or bytes (-b)
  1735.     -p                      # write progress information to diagnostics
  1736.     -s n                    # set -b input buffer to n * 512 bytes
  1737.  
  1738. -
  1739. Files           # list files and directories
  1740. Files [option…] [name…]  > fileList
  1741.     -af                     # expand the contents of the target of
  1742.                             #  leaf folder aliases; cannot be specified
  1743.                             #  together with -r
  1744.     -c creator              # list only files with this creator
  1745.     -d                      # list only directories
  1746.     -f                      # list full pathnames
  1747.     -fr                     # list full pathnames with all aliases resolved
  1748.     -i                      # treat all arguments as files
  1749.     -l                      # long format (type, creator, size, dates, etc.)
  1750.     -m columns              # n column format, where n = columns
  1751.     -n                      # don't print header in long or extended format
  1752.     -o                      # omit directory headers
  1753.     -q                      # don't quote filenames with special characters
  1754.     -r                      # recursively list subdirectories
  1755.     -s                      # suppress the listing of directories
  1756.     -t type                 # list only files of this type
  1757.     -x format               # extended format with the fields specified by format
  1758.     
  1759.     Note: The following characters can specify the format
  1760.         a   Flag attributes
  1761.         b   Logical size, in bytes, of the data fork
  1762.         r   Logical size, in bytes, of the resource fork
  1763.         c   Creator of File ("Fldr" for folders)
  1764.         d   Creation date
  1765.         k   Physical size in kilobytes of both forks
  1766.         m   Modification date
  1767.         t   Type
  1768.         o   Owner (only for folders on a file server)
  1769.         g   Group (only for folders on a file server)
  1770.         p   Privileges (only for folders on a file server)
  1771.  
  1772. -
  1773. Find            # find and select a text pattern
  1774. Find [-c count] selection [window]
  1775.     -c count                # find the nth selection, where n = count
  1776.  
  1777. -
  1778. Flush           # flush the tools that the Shell has cached
  1779. Flush
  1780.  
  1781. -
  1782. For             # repeat commands once per parameter
  1783. For name In word…
  1784.     command…
  1785. End
  1786.  
  1787. -
  1788. Format          # set or display formatting options for a window
  1789. Format [[-f font] [-s fontsize] [-t tabsize] [-a attr]] | [-x fmt] [window…]
  1790.     -f fontName             # set font to fontName
  1791.     -s fontSize             # set the font size to fontSize
  1792.     -t tabSize              # set the tab size to tabSize
  1793.     -a attr                 # set the auto indent and show invisibles flags
  1794.     -x fmt                  # output the current format in the specified format
  1795.     
  1796.     Note: The following attributes may be used with the -a option:
  1797.         A   auto indentation on
  1798.         a   auto indentation off
  1799.         I   show invisibles on
  1800.         i   show invisibles off
  1801.         L   lock auto scrolling
  1802.         l   unlock auto scrolling
  1803.     
  1804.     Note: The following characters may be used with the -x option:
  1805.         f   font name
  1806.         s   font size
  1807.         t   tab size
  1808.         a   attributes
  1809.  
  1810. -
  1811. Gestalt         # output information about the operating environment
  1812. Gestalt [option…] [selector…]
  1813.     -c                      # output only the number of bits in a Gestalt response
  1814.     -k                      # output the title even if only one selector is chosen
  1815.     -h                      # output the response as a hexadecimal number
  1816.     -s                      # output responses as strings if they exist in
  1817.                             #   Gestalt tool's database
  1818.     -e                      # generate error message if selector is not in data base
  1819.     -sel                    # output selector together with title and value
  1820.     -slots                  # output information about the cards in the machine slots
  1821.     -type                   # output info using only selectors which return a "type" 
  1822.     -vers                   # output info using only selectors which return a "vers"
  1823.     -addr                   # output info using only selectors which return an "addr"
  1824.     -size                   # output info using only selectors which return a "size"
  1825.     -attr                   # output info using only selectors which return an "attr"
  1826.     -t n                    # entab the output with the specified value
  1827.     -t1 n                   # place one tab of the specified value between the 
  1828.                             #   title and value
  1829.     -w n                    # write title in field of fixed width n (default: 24)
  1830.     -p                      # write version information
  1831.     -env                    # use SysEnvirons instead of Gestalt Manager
  1832.  
  1833. -
  1834. Get             # get a record from an indexed file
  1835. Get (dataFile… | -dfl listfFle) [-x] [-k key] [-width w] [-d default key] [-h | -h2] 
  1836.     [-l] [-m] [-nf] [-q] [-s] [-search] [-t] [-sfl] [-y] [-field field list 
  1837.     [-format format string] ] [-lessFields field list]
  1838.     
  1839.     dataFile                # a specially formatted help file which must be
  1840.                             # accompanied by an index file whose name is of
  1841.                             # the form: dataFile.index, and whose type is 'btre'
  1842.     -dfl listFile           # listFile contains a list of datafiles
  1843.     -k keyword              # keyword in the datafile's index file
  1844.     -width w                # column format for key lists, w = 1..200 is the 
  1845.                             #   window width in characters
  1846.     -d default              # use default keyword if no keyword is specified
  1847.     -h                      # write full header
  1848.     -h2                     # write short header (only the used datafile)
  1849.     -l                      # list all keys in the first data file that begin
  1850.                             #   with nnn, where nnn is the keyword following -k
  1851.     -lessFields tag [,tag]… # remove the named items from the existing field
  1852.                             #   list (default list or as specified by -field)
  1853.     -m                      # select the key word that was found and assign
  1854.                             #   a marker to the selection
  1855.     -nf                     # no filtering; include field tags
  1856.     -q                      # quiet output when keyword not found
  1857.     -s                      # use the selection in the active window as keyword
  1858.     -search                 # text search datafile for occurrences of keyword
  1859.     -t                      # write out template of the requested function/procedure
  1860.     -field tag[,tag]…       # specify the data field(s) to display
  1861.     -format format_string   # specify string(s) to be output in front of data
  1862.                             # specified in -field option.  '%s' flags in string 
  1863.                             #   correspond ordinally to tags in -field option
  1864.     -sfl                    # produce ordered list of data files 
  1865.                             #   (requires -dfl listFile)
  1866.     -x                      # create or update the cross reference index file
  1867.     -y                      # do not present dialog before (re)building index file
  1868.  
  1869. -
  1870. GetErrorText    # display error messages based on message number
  1871. GetErrorText [-f filename] [-s filename] [-n] [-p] errnbr[,insert,…] …
  1872. GetErrorText -i idnbr,…
  1873.     -f filename             # explicit error msg file
  1874.     -i idnbr                # report meaning of System Error Handler ID number
  1875.     -n                      # suppress error numbers in displayed messages
  1876.     -p                      # write version info to diagnostics
  1877.     -s filename             # explicit system error msg file (default SysErrs.Err)
  1878.  
  1879. -
  1880. GetFileName     # display a Standard File dialog box
  1881. GetFileName [-q] [-s]
  1882.             [-c | [(-t type)… | -p | -d | -wd] [-m message] [-b buttontitle] [pathname]]
  1883.     -b buttontitle          # specify the default button's title
  1884.     -c                      # write current standard file path to standard output
  1885.     -d                      # select a directory
  1886.     -wd                     # select a directory on a non-locked volume
  1887.     -m message              # specify a prompt
  1888.     -p                      # select a new filename (SFPutFile) 
  1889.     -q                      # suppress quoting of filenames
  1890.     -s                      # return 0 status even if cancel is clicked
  1891.     -t type                 # specify file type for SFGetFile dialog
  1892.  
  1893. -
  1894. GetListItem     # display items for selection in a dialog box
  1895. GetListItem [option…] [[item…] | < file]
  1896.     -c[ancel]               # return a status of 0 even when cancel is clicked
  1897.     -d[efault] item         # item is entered in list and comes up selected
  1898.     -m[essage] message      # display message in dialog above the list
  1899.     -q[uote]                # don't quote items in the output
  1900.     -r[ows] rows            # make the list with this many rows
  1901.     -s[ingle]               # only allow a single selection
  1902.     -sort                   # display list items in alphabetic order
  1903.     -w[idth] width          # make the list this many pixels wide
  1904.  
  1905. -
  1906. Help            # write summary information
  1907. Help [-f helpfile] [command…]  > helpInformation
  1908.     -f helpfile             # alternate helpfile (default MPW.Help)
  1909.  
  1910. -
  1911. HideWindows     # hide specified windows
  1912. HideWindows [-except] window…
  1913.     -except                 # hide all window except named ones
  1914.  
  1915. -
  1916. If              # conditional command execution
  1917. If expression
  1918.     command…
  1919. [Else If expression
  1920.     command… ] …
  1921. [Else
  1922.     command… ]
  1923. End
  1924.  
  1925. -
  1926. ILink           # incrementally link an application, tool, shared library or resource
  1927. ILink [option…] file… > map ≥ progress
  1928.     -ac n                   # align code modules on n-byte boundaries
  1929.                             # (default: 2 if -model near/far, 8 if -model cfmseg/cfmflat)
  1930.     -ad n                   # align data modules on n-byte boundaries
  1931.                             # (default: 2 if -model near/far, 4 if -model cfmseg/cfmflat)
  1932.     -br off |               # don't generate branch islands (default)
  1933.         on | 020 |          # generate 68020 branch islands where needed 
  1934.         68k                 # generate 68000 branch islands where needed
  1935.     -c resType              # set output file creator (default: ????)
  1936.     -compact                # compact the output file's resource fork
  1937.     -d                      # suppress warnings about duplicate symbol definitions
  1938.     -da                     # desk accessory - add NULL to segment names
  1939.     -@export fileName       # export symbols specified in text file, one symbol per line
  1940.     -export name[,name]…    # export the specified symbols
  1941.     -fragname name          # set PEF container fragment name (default: name of output file)
  1942.     -init name              # set initialization entry point
  1943.     -initbefore name[,name]…# mark the specified import libraries as "init before"
  1944.                             # note - this option takes fragment names not file names
  1945.     -l                      # write a link map to standard output for use by performance tools
  1946.     -la                     # -l, include anonymous symbols in link map
  1947.     -m[ain] name            # set main entry point
  1948.     -ma name=alias          # create an alias for a module name
  1949.     -map                    # write a formatted link map to standard output
  1950.     -[no]mf                 # [don't] use temporary memory (default: mf)
  1951.     -model cfmflat |        # generate a "flat" CFM-68K runtime compatible output file
  1952.            cfmseg |         # generate a segmented CFM-68K runtime compatible output file
  1953.            far |            # enable 32-bit load-time relocatable references
  1954.            near             # prohibit 32-bit references (default)
  1955.     -msg keyword[,keyword]… # message options
  1956.          [no]dup            # [don't] report warnings about duplicate symbol definitions
  1957.          [no]warn           # [don't] report warning messages
  1958.     -newerdeps              # relink only the object files specified on the command line
  1959.     -o fileName             # set output file name (default: Link.Out)
  1960.     -opt on | off           # enable Object Pascal optimizations (default: on)
  1961.     -p                      # write progress information to diagnostics
  1962.     -packdata off |         # don't compress the PEF container's data section
  1963.               on |          # compress the PEF container's data section (default)
  1964.               faster        # use a potentially faster compression algorithm
  1965.     -pad n                  # pad segments to n-byte boundaries, n must be 0 or a
  1966.                             # multiple of 512 (default: 512)
  1967.     -pm on | off            # use purgeable memory when reading object files (default: off)
  1968.     -ra [seg]=attr[,attr]…  # set resource attributes of specified segment or all segments
  1969.                             # attr = a resource attribute name or its hex or decimal equivalent
  1970.     -rn                     # don't include resource names in output file
  1971.     -rt resType=resID       # set resource type and ID
  1972.     -sg newSeg[=old[,old]…] # merge old segments into newSeg
  1973.     -sn oldSeg=newSeg       # change segment name oldSeg to newSeg
  1974.     -state [no]use |        # [don't] use state file (default: use)
  1975.            [no]rewrite      # [don't] rewrite state file (default: norewrite)
  1976.     -t resType              # set output file type (default: 'APPL' if -xm e, 'SPEF' if -xm s)
  1977.     -term name              # set termination entry point
  1978.     -uf fileName            # report unused code and data symbols to specified file
  1979.     -unmangle on | off      # unmangle C++ symbols in link map and messages (default: on)
  1980.     -vercur n               # set PEF container "current version" to n (default: 0)
  1981.     -verdef n               # set PEF container "definition version" to n (default: 0)
  1982.     -verimp n               # set PEF container "implementation version" to n (default: 0)
  1983.     -w[arn]                 # suppress warning messages
  1984.     -@weak fileName         # mark imports specified in text file as "weak", one import per line
  1985.     -weak name[,name]…      # mark the specified imports as "weak"
  1986.     -weaklib name[,name]…   # mark the specified import libraries as "weak"
  1987.                             # note - this option takes fragment names not file names
  1988.     -wrap                   # put excess jump table entries in global data space, if available
  1989.     -xm e[xecutable] |      # generate an application or tool (default)
  1990.         s[haredlibrary]     # generate a shared library
  1991.  
  1992. -
  1993. ILinkToSYM      # generate .SYM file from ILink state file
  1994. ILinkToSYM [option…] <appName>.NJ ≥ progress
  1995.     -c[sym] resType         # set output file creator (default: 'Alar')
  1996.     -[no]mf                 # [don't] use temporary memory (default: mf)
  1997.     -o fileName             # set output file name (default: <appName>.SYM)
  1998.     -p                      # write progress information to diagnostics
  1999.     -pg n                   # set output file page size to n
  2000.                             # n must be a multiple of 512 (default: 4096)
  2001.     -sym 3.2 |              # generate version 3.2 SYM file format
  2002.          3.4 |              # generate version 3.4 SYM file format
  2003.          3.5 |              # generate version 3.5 SYM file format
  2004.          on                 # generate version 3.5 SYM file format (default)
  2005.  
  2006. -
  2007. Lib             # combine object files into a library file
  2008. Lib [option…] objectFile…  ≥ progress
  2009.     -d                      # suppress duplicate definition warnings
  2010.     -df deleteFile          # delete modules listed in file deleteFile
  2011.     -dm name[,name]…        # delete external modules and entry points
  2012.     -dn name[,name]…        # delete external names, making them local
  2013.     -dnx name[,name]…       # delete all external names, except those listed
  2014.     -f                      # allow FORTRAN-style common data
  2015.     -mf                     # use MultiFinder temporary memory if necessary
  2016.     -o name                 # write object file name (default Lib.Out.o)
  2017.     -p                      # write progress information to diagnostics
  2018.     -rn OldNameA=NewNameA   # change module name(s) OldNameA to NewNameA,
  2019.       [,OldNameB=NewNameB]… #   OldNameB to NewNameB, etc.
  2020.     -sg newSeg[=old[,old]…] # merge old segments into new segment
  2021.     -sn oldSeg=newSeg       # change segment name oldSeg to newSeg
  2022.     -sym On | Full          # keep symbolic information (default), can be followed by:
  2023.             [,NoLabels]     #   discard label information
  2024.             [,NoLines]      #   discard source line information
  2025.             [,NoTypes]      #   discard type information
  2026.             [,NoVars]       #   discard variable information
  2027.     -sym Off                # discard symbolic information
  2028.     -ver N                  # set OMF file version number to N
  2029.     -w                      # suppress warnings
  2030.  
  2031. -
  2032. Line            # find line in the target window
  2033. Line n
  2034.  
  2035. -
  2036. Link            # link an application, tool, or resource
  2037. Link [option…] objectFile…  > map ≥ progress
  2038.     -ac alignment           # align code modules to 'n' byte boundaries
  2039.     -ad alignment           # align data modules to 'n' byte boundaries
  2040.     -br off                 # do not generate branch islands (default)
  2041.     -br on                  # generate branch islands where needed
  2042.     -br 020                 # generate 32-bit branch islands where needed
  2043.     -c creator              # set resourceFile creator (default ????)
  2044.     -cSym creator           # set .SYM file creator (default = 'sade')
  2045.     -d                      # suppress duplicate definition warnings
  2046.     -da                     # desk accessory - add NULL to segment names
  2047.     -f                      # allow FORTRAN-style common data
  2048.     -l                      # write a location map to output
  2049.     -la                     # -l, include anonymous symbols in location map
  2050.     -lf                     # -l, include file and location of definitions
  2051.     -m mainEntry            # use mainEntry as main entry point
  2052.     -ma name=alias          # create an alias for module name
  2053.     -map                    # generate "friendly" link map
  2054.     -mf                     # use MultiFinder temporary memory if necessary
  2055.     -mfMax                  # use ALL AVAILABLE MultiFinder temporary memory
  2056.     -nomf                   # don't use temporary memory (the default)
  2057.     -model far              # process 32-bit load-time relocatable references
  2058.     -model near             # prohibit 32-bit load-time relocatable references
  2059.     -msg keyword[,…]        # message options
  2060.         [no]dup             #   (suppress) warnings about duplicate symbols
  2061.         [no]multiple        #   (suppress) multiple undefined symbol reports
  2062.         [no]warn            #   (suppress) warning messages
  2063.     -newerdeps              # ignored--for compatibility with ILink
  2064.     -o outputFile           # write to outputFile (default: Link.Out)
  2065.     -opt Off                # disable Object Pascal optimizations (default)
  2066.     -opt On                 # enable optimizations
  2067.             [,Info]         #   write optimization information to diagnostics
  2068.             [,Names]        #   include MacsBug symbols within SelectorProc modules
  2069.     -opt NoBypass           # enable optimizations, but always dispatch
  2070.             [,Info]         #   write optimization information to diagnostics
  2071.             [,Names]        #   include MacsBug symbols within SelectorProc modules
  2072.     -p                      # write progress information to diagnostics
  2073.     -pg size                # set page size to "size"; max: 32K; min: 1024; default: 4096 
  2074.     -ra [seg]=attr[,attr…]  # set segment resource attributes:
  2075.         $xx (or) nnn        #   a hex or decimal attribute you figure out
  2076.         resSysHeap          #   or a comma-separated list of resource
  2077.         resPurgeable        #    attributes by name
  2078.         resLocked           #   
  2079.         resProtected        #   
  2080.         resPreload          #   
  2081.         resChanged          #   (essentially ignored)
  2082.     -rn                     # don't include resource names in outputFile
  2083.     -rt type=id             # set resource type and id  
  2084.     -sg newSeg[=old[,old]…] # merge old segments into new segment
  2085.     -sn oldSeg=newSeg       # change segment name oldSeg to newSeg
  2086.     -srt                    # sort global data by "near" and "far" references (default)
  2087.     -srtsg all|segName      # place items referenced through Jump Table low in code resource.
  2088.                             #   all: sort all segments.  
  2089.                             #   segName: sort named one.
  2090.     -state                  # ignored--for compatibility with ILink
  2091.     -sym Off                # disable symbolic output (default)
  2092.     -sym On | Full          # enable symbolic output, can be followed by:
  2093.             [,NoLabels]     #   omit label information
  2094.             [,NoLines]      #   omit source line information
  2095.             [,NoTypes]      #   omit type information
  2096.             [,NoVars]       #   omit variable information
  2097.             [,3.2]          #   generate version 3.2 SYM file
  2098.             [,3.3]          #   generate version 3.3 SYM file
  2099.             [,3.4]          #   generate version 3.4 SYM file (default)
  2100.     -t type                 # set resourceFile type (default APPL)
  2101.     -uf unrefFile           # write list of unreferenced modules to unrefFile
  2102.     -w                      # suppress warnings
  2103.     -wrap                   # when jump table space is exhausted, put excess jump table 
  2104.                             #   entries in global data space, if available
  2105.     -x crossRefFile         # write cross reference to crossRefFile
  2106.  
  2107. -
  2108. Loop            # repeat commands until Break
  2109. Loop
  2110.     command…
  2111. End
  2112.  
  2113. -
  2114. Make            # build up-to-date version of a program
  2115. Make [option…] [target…] > commands ≥ progress
  2116.     -d name[=value]         # define variable name (overrides makefile definition)
  2117.     -e                      # rebuild everything regardless of dates
  2118.     -f filename             # read dependencies from specified file (default: MakeFile)
  2119.     -p                      # write progress information to diagnostics
  2120.     -r                      # display the roots of the dependency graph
  2121.     -s                      # display the structure of the dependency graph
  2122.     -t                      # touch dates of targets and prerequisites
  2123.     -u                      # write list of unreachable targets to diagnostics
  2124.     -v                      # write verbose explanations to diagnostics (implies -p)
  2125.     -w                      # suppress warning messages
  2126.     -y                      # like -v, but omit announcing up-to-date targets
  2127.  
  2128. -
  2129. MakeErrorFile   # create error message textfile
  2130. MakeErrorFile [option…] [file…]  < file > listing ≥ progress
  2131.     -l                      # write listing to standard output
  2132.     -o file/dir             # output file or directory
  2133.     -p                      # write progress information to diagnostics
  2134.  
  2135. -
  2136. MakeFlat        # flatten a segmented shared library created by ILink 
  2137. MakeFlat [option…] inputFile ≥ progress
  2138.     -h[elp]                 # display this help info
  2139.     -o                      # specify output file
  2140.     -omitseghdrs            # omit segment headers in the output file
  2141.     -p                      # enable progress messages
  2142.     -packdata off           # don't compress the PEF container's data section
  2143.     -packdata on            # compress the PEF container's data section (default)
  2144.     -packdata faster        # use a potentially faster compression algorithm
  2145.     -share shareMode        # set data section sharing mode (shareMode) to one of:
  2146.             context         #    shared within a context (default)
  2147.             global          #    shared across all contexts
  2148.     -w                      # disable warning messages
  2149.  
  2150. -
  2151. MakePEF         # XCOFF to PEF converter
  2152. MakePEF [option…] file
  2153. (number arguments are read in decimal unless preceded by 0x ie:0x100 = hex 100)
  2154.     -a n                    # align code & data sections to n byte boundary (def=8)
  2155.     -b                      # expand bss into zeroed data (def=no)
  2156.     -c n                    # set current-version to n (def=0)
  2157.     -e name                 # set entry point to routine name (def=what-XCOFF-says)
  2158.     -d n                    # set definition version to n (def=0)
  2159.     -ft type                # set output file type to "type"  (e.g. APPL)
  2160.     -fc creator             # set output file creator to "creator"  (e.g. PETE)
  2161.     -f fname                # use file fname to load additional export list
  2162.     -i name                 # set initialization routine to procedure name (def=none)
  2163.     -k                      # keep init, term & main routines as export symbols
  2164.                             #   (def=remove)
  2165.     -l oldname[=newname][#vers[-upfv]][!]   # change imported library with
  2166.                             # name oldname:
  2167.             =newname        #   to newname
  2168.             #vers           #   to current-version vers (# required)
  2169.             -upfv           #   to up-from-version upfv
  2170.             !               #   to init before
  2171.     -n                      # pad exported loader symbols with trailing null
  2172.                             #   (def=nonull)
  2173.     -o fname                # set the target output file name (def=a.peff)
  2174.     -r                      # mark data section as read-only (def=read-write)
  2175.     -s n                    # set share option of data section to n (def=contextShare)
  2176.     -t name                 # set termination routine to procedure name (def=none)
  2177.     -u n                    # set implementation version to n (def=0)
  2178.     -v n=m                  # make section n have default virtual address m (def=0)
  2179.     -w n:nam                # make import name from file n weak (OK to be undef at
  2180.                             #   runtime)
  2181.     -x                      # turn off automatic data section packing
  2182.  
  2183. -
  2184. MakeStub        # create a PowerPC, CFM-68K or fat stub library
  2185. MakeStub [option…] file… ≥ progress
  2186.     -arch fat  |            # create a fat stub library
  2187.           m68k |            # create a CFM-68K stub library
  2188.           pwpc              # create a PowerPC stub library (default)
  2189.     -c resType              # set output file creator (default: 'MPS ')
  2190.     -d                      # suppress duplicate symbol warnings
  2191.     -fragname name          # set fragment name (default: name of output file)
  2192.     -[no]mf                 # [don't] use temporary memory (default: nomf)
  2193.     -o fileName             # set output file name (default: MakeStub.out)
  2194.     -p                      # write progress information to diagnostics
  2195.     -t resType              # set output file type (default: 'stub')
  2196.     -vercur n               # set the "current version" to n (default: 0)
  2197.     -verdef n               # set the "definition version" to n (default: 0)
  2198.     -verimp n               # set the "implementation version" to n (default: 0)
  2199.     -w[arn]                 # suppress warning messages
  2200.     -weakstub on | off      # create a "weak" stub library (default: off)
  2201.  
  2202. -
  2203. MakeSYM         # extract debugging information from XCOFF
  2204. MakeSYM <XCOFFfile> [option…]
  2205.     -i directory            # specifies directory for source files (default=current dir.)
  2206.     -notypes                # don't include type information in xSYM file
  2207.     -o xsymfile             # name output xSYM file 'xsymfile' (default=<appname>.xSYM)
  2208.     -only sourcefile…       # include debugging info only from specified file(s)
  2209.     -p                      # write progress information to stderr
  2210.     -r                      # makes search for source files recursive
  2211.     -sym on | off | big     # enable/disable generation of symbolic debugging information.
  2212.                 off         #   disable generation of symbolic debugging information.
  2213.                 on          #   enable generation of symbolic debugging information.
  2214.                 big         #   use when PPCLink used the option -sym big
  2215.     -sym 3.2                # use the 3.2 SYM file format
  2216.     -sym 3.4                # use the 3.4 SYM file format (default)
  2217.     -v                      # display the MakeSYM version number
  2218.     -w                      # suppress warning messages. 
  2219.  
  2220. -
  2221. Mark            # assign a marker to a selection
  2222. Mark [-y | -n] selection name [window]
  2223.     -y                      # replace existing marker (avoids dialog)
  2224.     -n                      # don't replace existing marker (avoids dialog)
  2225.  
  2226. -
  2227. Markers         # list markers
  2228. Markers [-q] [window]
  2229.     -q                      # don't quote the marker names
  2230.  
  2231. -
  2232. MatchIt         # semi-intelligent language sensitive bracket matcher
  2233. MatchIt [-a[sm] | -p[ascal] | -c] [-h] [-l] [-n] [-v] [window]
  2234.     -a[sm]                  # target language is Assembler
  2235.     -p[ascal]               # target language is Pascal
  2236.     -c                      # target language is C
  2237.     -h                      # highlight all characters enclosed by match
  2238.     -l                      # highlight entire lines containing match
  2239.     -n                      # generate error message if no match
  2240.     -v                      # display MatchIt's version number
  2241.  
  2242. -
  2243. MergeBranch      # merge a branch revision onto the trunk
  2244. MergeBranch file
  2245.  
  2246. -
  2247. MergeFragment    # merge code fragments
  2248. MergeFragment [option…] [file…] target file
  2249.     -a           # set 'cfrg' usage type to application
  2250.     -c           # create default cfrg (meaningful only if no input files)
  2251.     -d           # tag the data fork of the target in its 'cfrg' as not a                
  2252.                  #   code fragment
  2253.     -n name      # use "name" for cfrg entry
  2254.     -p           # report progress
  2255.     -r           # create 'rseg' cfrg entry
  2256.     -t pwpc|m68k # set architecture for created cfrg entry (default=pwpc)
  2257.     -u           # set 'cfrg' updateLevel to update library
  2258.     -x           # delete any existing 'cfrg' entry in the target
  2259.     -z           # truncate the data fork of the target file before merging
  2260.     
  2261. -
  2262. ModifyReadOnly  # enables read-only Projector files to be edited
  2263. ModifyReadOnly file…
  2264.  
  2265. -
  2266. ModPEF          # extract, delete and/or modify PEF fragments
  2267. ModPEF [option…] file ≥ progress
  2268.     -@addexports fragSpec=fileName        # add exported symbols to fragment
  2269.     -@alias fragSpec=fileName             # add export aliases to fragment
  2270.     -c resType                            # set output file creator
  2271.     -delete fragSpec[,fragSpec]…          # delete fragments
  2272.     -deleteexports fragSpec=name[,name]…  # delete exported symbols from fragment
  2273.     -@deleteexports fragSpec=fileName     # delete exported symbols from fragment
  2274.     -describe on | off                    # describe changes (default: on)
  2275.     -extract fragSpec[,fragSpec]…         # extract fragments
  2276.     -[no]initbefore fragSpec=name[,name]… # modify fragment's "initbefore" settings
  2277.     -level fragSpec=base | update         # change fragment's "level"
  2278.     -list                                 # list contents of input file
  2279.     -mergecode on | off                   # make code sections adjacent (default: off)
  2280.     -[no]mf                               # [don't] use temporary memory (default: nomf)
  2281.     -o fileName                           # set output file name
  2282.     -p                                    # write progress information to diagnostics
  2283.     -renamefrag fragSpec=name             # rename a fragment
  2284.     -@renamesymbols fragSpec=fileName     # rename fragment's imported/exported symbols
  2285.     -share fragSpec=context | global | protected | aNumber
  2286.                                           # change fragment's data section sharing
  2287.     -stacksize fragSpec=aNumber           # change fragment's stack size
  2288.     -t resType                            # set output file type
  2289.     -usage fragSpec=lib[rary] | app[lication] | dropin | stub | weakstub | aNumber
  2290.                                           # change fragment's usage type
  2291.     -v                                    # use verbose progress (implies -p)
  2292.     -vercur fragSpec=aNumber              # change fragment's current version
  2293.     -verdef fragSpec=aNumber              # change fragment's definition version
  2294.     -verimp fragSpec=aNumber              # change fragment's implementation version
  2295.     -w[arn]                               # suppress warning messages
  2296.     -[no]weak fragSpec=name[,name]…       # modify fragment's weak imports
  2297.     -@[no]weak fragSpec=fileName          # modify fragment's weak imports
  2298.     -[no]weaklib fragSpec=name[,name]…    # modify fragment's weak libraries
  2299.  
  2300.     A "fragSpec" identifies a particular fragment within a file. Its syntax is -
  2301.     fragSpec  ::=  fragName[(fragInfo[,fragInfo]…)]
  2302.  
  2303.     A "fragName" is the name of a fragment and is case-sensitive. Its syntax is -
  2304.     fragName  ::=  characters other than '(', ')', '=' and ','
  2305.     fragName  ::=  '*'                    # matches any fragment name
  2306.  
  2307.     A "fragInfo" provides additional information which is used to identify a
  2308.     particular fragment within a file. Its syntax is -
  2309.     fragInfo  ::=  [arch=]pwpc       | [arch=]m68k           | arch=aNumber   |
  2310.                    [usage=]lib[rary] | [usage=]app[lication] | [usage=]dropin |
  2311.                    [usage=]stub      | [usage=]weakstub      | usage=aNumber  |
  2312.                    [level=]base      | [level=]update        | level=aNumber  |
  2313.                    vercur=aNumber    | verdef=aNumber
  2314.  
  2315. -
  2316. Monitors        # show coordinates of monitor rectangle
  2317. Monitors [Monitor #]…
  2318.  
  2319. -
  2320. Mount           # mount volumes
  2321. Mount drive…
  2322.  
  2323. -
  2324. MountProject    # mount projects
  2325. MountProject ([-s] [-pp] [-q] [-r]) | [Project [-only]]
  2326.     -only                   # do not mount subprojects
  2327.     -s                      # print names only, not commands
  2328.     -pp                     # list mounted projects using project paths
  2329.     -q                      # don't quote names with special characters
  2330.     -r                      # list projects recursively
  2331.  
  2332. -
  2333. Move            # move files and directories
  2334. Move [-y | -n | -c] [-p] name… target  ≥ progress
  2335.     -y                      # overwrite target files (avoids dialog)
  2336.     -n                      # don't overwrite target files (avoids dialog)
  2337.     -c                      # cancel if conflict occurs (avoids dialog)
  2338.     -p                      # write progress information to diagnostics
  2339.     -rs                     # resolve leaf aliases in the source path(s)
  2340.     -rt                     # resolve leaf aliases in the target path
  2341.     -f                      # preserve Finder icon locations
  2342.  
  2343. -
  2344. MoveWindow      # move window to h,v location
  2345. MoveWindow [h v] [-i] [window]
  2346.     h                       # horizontal position of top left corner
  2347.     v                       # vertical position of top left corner
  2348.     -i                      # ignore positioning errors
  2349.  
  2350. -
  2351. MrC              # C Compiler for Macintosh On RISC
  2352. MrC [option…] file
  2353.     -align power            # specify power alignment for data structures (default)
  2354.     -align mac68k           # specify 68K alignment for data structures
  2355.     -align byte | packed    # use byte alignment for data structures
  2356.     -alloca                 # recognize 'alloca' as a built in function
  2357.     -ansi off               # don't enforce strict ANSI compatibility (see the Symantec C/C++ for MPW
  2358.                             #  Users Guide.)
  2359.     -ansi on | relaxed      # size of enums is determined by minimum size needed to
  2360.                             #   store the enum values. The following keywords will not
  2361.                             #   be recognized: “__handle”, “_inf”, “__nan”, “__nans”,
  2362.                             #   “__machdl”, “asm”, and “pascal”. (See MrC/MrCpp Release 
  2363.                             #   Notes for complete list of features and restrictions.) 
  2364.     -ansi strict            # same as -ansi on, but size of enums is always an int
  2365.     -asm                    # generate an assembly listing of the generated code
  2366.     -char signed            # treat char type as signed (default)
  2367.     -char unsigned          # treat char type as unsigned
  2368.     -char unsignedx         # treat char type as unsigned, and sign extend the values
  2369.     -c                      # Syntax check only.  No XCOFF file is generated.
  2370.     -curdir                 # use current (working) directory for the compiler temporary
  2371.                             #   and output files.  The -y option has precedence over the -currdir option.
  2372.     -d[efine] name          # define a preprocessing symbol. Equivalent to #define name 1.
  2373.     -d[efine] name=value    # define a preprocessing symbol. Equivalent to #define name value.
  2374.     -dump[c] filename       # save the state of the compilation in the specified file
  2375.     -e                      # if -l is specified, show macro expansions in listing
  2376.     -enum int               # use int-sized enumeration types
  2377.     -enum min               # use minimum-sized enumeration types, same as 68K (default unless -ansi strict is on)
  2378.     -export_list filename   # specify the file which contains a list of the shared library's exported entry points
  2379.                             #  (used in conjunction with -shared_lib_export). default: <source filename>.x
  2380.     -fatext                 # add “.ppc.o” extension to object filename instead of “.o”
  2381.     -fp_contract on         # generate multiply-add-fused instructions (default)
  2382.     -maf on                 #    "               "             "           "
  2383.     -fp_contract off        # don't generate multiply-add-fused instructions
  2384.     -maf off                #   "      "               "             "
  2385.     -i pathname[,pathname…] # search for include files in directory specified by pathname
  2386.     -ieee relaxed | strict  # control strict adherence to IEEE floating point semantics
  2387.     -ignorepragma id,…      # ignore #pragmas with the specified #pragma id's
  2388.     -inclpath normal | std  # treat <...> includes as system includes
  2389.               | standard    #   "     "      "      "   "       "
  2390.     -inclpath ignoresys |   # treat <...> includes exactly like "..." includes
  2391.               ignoresystem |#   "     "      "        "      "    "       "
  2392.               nosys |       #   "     "      "        "      "    "       "
  2393.               nosystem      #   "     "      "        "      "    "       "
  2394.     -inline all             # functions are inlined wherever possible, regardless of cost 
  2395.     -inline on              # functions are inlined as defined in the C++ source (default) 
  2396.     -inline none | off      # inlining of C++ function expansions will be suppressed
  2397.     -inline 0 | 1 | 2 | 3 | # sets complexity limit on functions to be inlined.
  2398.             4 | 5           #
  2399.     -ir pathname[,…]        # recursively search for include files in directory specified by pathname
  2400.     -j0                     # accept two byte sequences for Japanese
  2401.     -j1                     # accept two byte sequences for Taiwanese or Chinese
  2402.     -j2                     # accept two byte sequences for Korean
  2403.     -l filename             # generates a listing to the specified file (need -e for macro expansions)
  2404.     -ldsize 64 | 128        # determines the size of long doubles (default = 64)  
  2405.     -load[c] filename       # restore the state of the compilation from the specified file
  2406.     -make filename          # generate Make dependency rules into the specified file
  2407.     -noMapCR                # changes the default mapping of \n to 0x0A and \r to 0x0D
  2408.     -notOnce                # allow multiple copies of header files
  2409.     -o filename | dirname:  # specify output filename or directory
  2410.     -opt off                # suppress all optimizations (default with -sym on)
  2411.     -opt local              # perform local optimizations (default with -sym off)
  2412.     -opt size               # optimize for size
  2413.        [,warn_uninit]       #   warn about variables which are definitly used before being set
  2414.        [,warn_maybe_uninit] #   warn about variables which may used before set
  2415.     -opt speed              # optimize for speed
  2416.        [,unroll]            #   as above, plus loop unrolling
  2417.        [,unswitch]          #   as above, apply loop unswitching
  2418.        [,norep]             #   as above, but do not repeatedly apply global copy propagation
  2419.                             #     and redundant store elimination
  2420.        [,nointer]           #   as above, but no interprocedural optimizations
  2421.        [,warn_uninit]       #   warn about variables which are definitly used before being set
  2422.        [,warn_maybe_uninit] #   warn about variables which may used before set
  2423.     -p                      # output progress information to the standard error file
  2424.     -poolstringsbyfunc      # string constants are associated with their functions instead of compilation unit
  2425.     -prefix pathname        # #include the specified file(s) prior to reading the first source file.
  2426.                [,pathname…] #
  2427.     -proto strict           # require function prototypes
  2428.     -proto auto             # automatically generate function prototypes (default)
  2429.     -shared_lib_export on   # create a shared library and create file that contains entry point list
  2430.     -shared_lib_export off  # don't create shared library (default)
  2431.     -sym off                # disable generation of symbolic debugging information  (default)
  2432.     -sym on | full          # enable generation of symbolic debugging information
  2433.         [,nolines]          #   omit source line information
  2434.         [,notypes]          #   omit type information
  2435.         [,novars]           #   omit variable information
  2436.         [,alltypes]         #   generate type information for all types (including unreferenced types)
  2437.     -target ppc | powerpc   # generate code for PowerPC architecture
  2438.     -target power           # generate code for Power architecture
  2439.     -target 601             # generate code for PowerPC 601
  2440.     -target 603             # generate code for PowerPC 603
  2441.     -target 604             # generate code for PowerPC 604
  2442.     -tb on                  # generate IBM RS/6000 traceback tables (same as -traceback)
  2443.     -tb pragma              # generate IBM RS/6000 traceback tables only for #pragma traceback functions 
  2444.     -tb exp[ort]            # generate IBM RS/6000 traceback tables only for #pragma export functions
  2445.     -tb outofline           # generate IBM RS/6000 traceback tables only for #pragma outofline functions
  2446.     -traceback              # generate IBM RS/6000 traceback tables
  2447.     -typecheck strict       # perform strict type checking (default).
  2448.     -typecheck relaxed      # perform relaxed type checking
  2449.     -u all                  # #undef all predefined non-ANSI macros
  2450.     -u name[,…]             # #undef name, where name is a predefined non-ANSI macro name
  2451.     -unique_strings         # force all string constants to be unique
  2452.     -w off                  # suppress all warnings
  2453.     -w [is]err[or]          # treat warnings as errors
  2454.     -w n1[,n2…]             # suppress the specified warning messages
  2455.     -x                      # continue past the normal maximum error limit (4)
  2456.     -y directory            # write compiler temporary and object files to directory (default:same as source file)
  2457.  
  2458. -
  2459. MrCpp              # C++ Compiler for Macintosh On RISC
  2460. MrCpp [option…] file
  2461.     -abi newest             # generate code which conforms to newest Macintosh C++ ABI standard
  2462.     -abi old                # generate code which conforms to old Macintosh C++ ABI standard (default)
  2463.     -align power            # specify power alignment for data structures (default)
  2464.     -align mac68k           # specify 68K alignment for data structures
  2465.     -align byte | packed    # use byte alignment for data structures
  2466.     -alloca                 # recognize 'alloca' as a built in function
  2467.     -ansi off               # don't enforce strict ANSI compatibility (see the Symantec C/C++ for MPW
  2468.                             #  Users Guide.)
  2469.     -ansi on | relaxed      # size of enums is determined by minimum size needed to
  2470.                             #   store the enum values. The following keywords will not
  2471.                             #   be recognized: “__handle”, “_inf”, “__nan”, “__nans”,
  2472.                             #   “__machdl”, “asm”, and “pascal”. (See MrC/MrCpp Release 
  2473.                             #   Notes for complete list of features and restrictions.) 
  2474.     -ansi strict            # same as -ansi on, but size of enums is always an int
  2475.     -ansifor                # limit for-statement declared initializer to the for body
  2476.     -aslm                   # for ASLM compatibility, reverts to old vtable format(incompatible with exceptions)
  2477.     -asm                    # generate an assembly listing of the generated code
  2478.     -bool on                # enable C++ 'bool', 'true', and 'false' as standard keywords 
  2479.     -bool off               # 'bool', 'true', 'false' are normal identifiers (default)
  2480.     -char signed            # treat char type as signed (default)
  2481.     -char unsigned          # treat char type as unsigned
  2482.     -char unsignedx         # treat char type as unsigned, and sign extend the values
  2483.     -c                      # Syntax check only.  No XCOFF file is generated.
  2484.     -curdir                 # use current (working) directory for the compiler temporary
  2485.                             #   and output files.  The -y option has precedence over the -currdir option.
  2486.     -d[efine] name          # define a preprocessing symbol. Equivalent to #define name 1.
  2487.     -d[efine] name=value    # define a preprocessing symbol. Equivalent to #define name value.
  2488.     -dump[c] filename       # save the state of the compilation in the specified file
  2489.     -e                      # if -l is specified, show macro expansions in listing
  2490.     -EH                     # enable exception handling (same as -exceptions on) 
  2491.     -enum int               # use int-sized enumeration types
  2492.     -enum min               # use minimum-sized enumeration types, same as 68K (default unless -ansi strict is on)
  2493.     -ER                     # enable run-time type identification (RTTI, same as -rtti on)
  2494.     -exceptions on | off    # enable/disable exception handling (default off)
  2495.     -export_list filename   # specify the file which contains a list of the shared library's exported entry points
  2496.                             #  (used in conjunction with -shared_lib_export). default: <source filename>.x
  2497.     -fatext                 # add “.ppc.o” extension to object filename instead of “.o”
  2498.     -fp_contract on         # generate multiply-add-fused instructions (default)
  2499.     -maf on                 #    "               "             "           "
  2500.     -fp_contract off        # don't generate multiply-add-fused instructions
  2501.     -maf off                #   "      "               "             "
  2502.     -i pathname[,pathname…] # search for include files in directory specified by pathname
  2503.     -ieee relaxed | strict  # control strict adherence to IEEE floating point semantics
  2504.     -ignorepragma id,…      # ignore #pragmas with the specified #pragma id's
  2505.     -inclpath normal | std  # treat <...> includes as system includes
  2506.               | standard    #   "     "      "      "   "       "
  2507.     -inclpath ignoresys |   # treat <...> includes exactly like "..." includes
  2508.               ignoresystem |#   "     "      "        "      "    "       "      
  2509.               nosys |       #   "     "      "        "      "    "       "  
  2510.               nosystem      #   "     "      "        "      "    "       "
  2511.     -inline all             # functions are inlined wherever possible, regardless of cost 
  2512.     -inline on              # functions are inlined as defined in the C++ source (default) 
  2513.     -inline none | off      # inlining of C++ function expansions will be suppressed
  2514.     -inline 0 | 1 | 2 | 3 | # sets complexity limit on functions to be inlined.
  2515.             4 | 5           #
  2516.     -ir pathname[,…]        # recursively search for include files in directory specified by pathname
  2517.     -j0                     # accept two byte sequences for Japanese
  2518.     -j1                     # accept two byte sequences for Taiwanese or Chinese
  2519.     -j2                     # accept two byte sequences for Korean
  2520.     -l filename             # generates a listing to the specified file (need -e for macro expansions)
  2521.     -ldsize 64 | 128        # determines the size of long doubles (default = 64)  
  2522.     -load[c] filename       # restore the state of the compilation from the specified file
  2523.     -make filename          # generate Make dependency rules into the specified file
  2524.     -noMapCR                # changes the default mapping of \n to 0x0A and \r to 0x0D
  2525.     -notOnce                # allow multiple copies of header files
  2526.     -o filename | dirname:  # specify output filename or directory
  2527.     -opt off                # suppress all optimizations (default with -sym on)
  2528.     -opt local              # perform local optimizations (default with -sym off)
  2529.     -opt size               # optimize for size
  2530.        [,warn_uninit]       #   warn about variables which are definitly used before being set
  2531.        [,warn_maybe_uninit] #   warn about variables which may used before set
  2532.     -opt speed              # optimize for speed
  2533.        [,unroll]            #   as above, plus loop unrolling
  2534.        [,unswitch]          #   as above, apply loop unswitching
  2535.        [,norep]             #   as above, but do not repeatedly apply global copy propagation
  2536.                             #     and redundant store elimination
  2537.        [,nointer]           #   as above, but no interprocedural optimizations
  2538.        [,warn_uninit]       #   warn about variables which are definitly used before being set
  2539.        [,warn_maybe_uninit] #   warn about variables which may used before set
  2540.     -p                      # output progress information to the standard error file
  2541.     -poolstringsbyfunc      # string constants are associated with their functions instead of compilation unit
  2542.     -prefix pathname        # #include the specified file(s) prior to reading the first source file.
  2543.                [,pathname…] #
  2544.     -rtti on | off          # enable/disable run-time type information (RTTI, default on)
  2545.     -shared_lib_export on   # create a shared library and create file that contains entry point list
  2546.     -shared_lib_export off  # don't create shared library (default)
  2547.     -som                    # enable direct-to-SOM
  2548.     -sym off                # disable generation of symbolic debugging information  (default)
  2549.     -sym on | full          # enable generation of symbolic debugging information
  2550.         [,nolines]          #   omit source line information
  2551.         [,notypes]          #   omit type information
  2552.         [,novars]           #   omit variable information
  2553.         [,alltypes]         #   generate type information for all types (including unreferenced types)
  2554.     -target ppc | powerpc   # generate code for PowerPC architecture
  2555.     -target power           # generate code for Power architecture
  2556.     -target 601             # generate code for PowerPC 601
  2557.     -target 603             # generate code for PowerPC 603
  2558.     -target 604             # generate code for PowerPC 604
  2559.     -tb on                  # generate IBM RS/6000 traceback tables (same as -traceback)
  2560.     -tb pragma              # generate IBM RS/6000 traceback tables only for #pragma traceback functions 
  2561.     -tb exp[ort]            # generate IBM RS/6000 traceback tables only for #pragma export functions
  2562.     -tb outofline           # generate IBM RS/6000 traceback tables only for #pragma outofline functions
  2563.     -traceback              # generate IBM RS/6000 traceback tables
  2564.     -u all                  # #undef all predefined non-ANSI macros
  2565.     -u name[,…]             # #undef name, where name is a predefined non-ANSI macro name
  2566.     -unique_strings         # force all string constants to be unique
  2567.     -w off                  # suppress all warnings
  2568.     -w [is]err[or]          # treat warnings as errors
  2569.     -w n1[,n2…]             # suppress the specified warning messages
  2570.     -x                      # continue past the normal maximum error limit (4)
  2571.     -xa public              # template expansions have public scope
  2572.     -xa static              # template expansions have static scope (default)
  2573.     -xa extern              # templates are not expanded in the current compilation unit
  2574.     -xi spec                # instantiate the specified template
  2575.     -y directory            # write compiler temporary and object files to directory (default:same as source file)
  2576.  
  2577. -
  2578. MrPlus  # Post-link analysis of a Macintosh PowerPC™ executable for code coverage or performance
  2579. MrPlus [option…] PEFfile
  2580.    -instrument branches |  # instrument all arcs
  2581.                calls |     # instrument function calls only
  2582.                exports |   # trace calls to exports (requires InstrumentationLib)
  2583.                imports |   # trace calls to imports (requires InstrumentationLib)
  2584.                loads |     # detect attempts to load from low memory (0-32K)
  2585.                stores |    # detect attempts to store in low memory (0-32K)
  2586.                none        # do not instrument any code
  2587.    | -monitor icache |     # enable hardware counters to display instruction and cache 
  2588.                            #   miss (604 only) counts
  2589.               none         # disable hardware counters
  2590.    | -arrange routines |   # rearrange routines relative to each other to improve instruction 
  2591.                            #   caching and reduce the number of page faults.  Requires pmap 
  2592.                            #   and dynamic count input files
  2593.               blocks |     # same as preceding option with unexecuted blocks of routines 
  2594.                            #   placed at end of code section
  2595.               none         # do not arrange any code
  2596.    | -opt static[,size] |  # do static optimizations such as removing superfluous NOPs 
  2597.                            #   after local function calls and sharing non-trivial epilog 
  2598.                            #   code from multiple return routines
  2599.           dynamic[,size] | # same as preceding option with additional branching
  2600.                            #   optimizations based on dynamic data;
  2601.                            #   requires pmap and dynamic count input files
  2602.           none             # do not optimize any code 
  2603.    -arrout arrfile         # specify name of "link order" text file produced by 
  2604.                            #   -arrange modes; default is "PEFfile.arr".
  2605.    -cntin PCNTfile         # specify name of input count file (-arrange or -opt dynamic 
  2606.                            #   modes); default is "PEFfile.pcnt". Fragment terminates (-instrument
  2607.                            #   call/branches modes); default is "PEFfile.pcnt"
  2608.    -exclude INEXfile       # specify name of input text file listing functions to exclude 
  2609.                            #   when instrumenting for
  2610.                            #   imports or exports; default is to exclude no functions
  2611.    | -include INEXfile     # specify name of input text file listing functions to 
  2612.                            #   instrument for imports or exports;
  2613.                            #   default is to include all functions
  2614.    -fragout outPEFfile     # specify name of output PEF file; default names are 
  2615.                            #   "PEFfile.prof" for -instrument modes,
  2616.                            #   "PEFfile.mon" for -monitor mode, "PEFfile.opt" for -opt modes 
  2617.    -mapin PMAPfile         # specify name of input pmap file (-arrange or -opt dynamic modes); 
  2618.                            #   default is "PEFfile.pmap"
  2619.    -mapout PMAPfile        # specify name of output pmap file that encodes mapping of the 
  2620.                            #   software counters (-instrument
  2621.                            #   call/branches modes); default is "PEFfile.pmap" in the same 
  2622.                            #   directory as "PEFfile"
  2623.    -member name            # specify name of specific fragment to be processed within a 
  2624.                            #   multi-fragment PEFfile
  2625.    -progress               # write to stderr additional details about progress in 
  2626.                            #   processing the PEFfile
  2627.    -report glue            # report occurrences of linker-generated glue routines that 
  2628.                            #   enable cross-TOC calls
  2629.    -report imix            # report the static or dynamic occurrence count of classes 
  2630.                            #   of instructions; dynamic counts are reported only if 
  2631.                            #   the -opt dynamic or -arrange options are used
  2632.    -report regs            # report static register usages.
  2633.    -report unwind          # indicate how many functions save LR, CR, General Registers, 
  2634.                            #   and/or FPRs
  2635.    -report web             # indicate for code flow entering PEFfile which imports could 
  2636.                            #   possibly be invoked
  2637.    -xcin XCOFFfile         # specify name of optional input XCOFF file; default 
  2638.                            #   is "PEFfile.xcoff"
  2639.    -xcout XCOFFfile        # specify name of output XCOFF file; default is "outPEFfile.xcoff" 
  2640.                            #   (see -fragout option above for default output PEF file 
  2641.                            #   naming conventions)
  2642.  
  2643. -
  2644. MultiSearch # find multiple patterns in text files in a directory tree
  2645. MultiSearch (-t target_dir  | -j target_dir) 
  2646.                 (-f path | pattern…) [-q | -v] [-p] [-i | -s] [-rp | -rf] 
  2647.     -t target_dir           # the path to the base directory to be recursively
  2648.                             # searched.
  2649.     -j target_dir           # the path to the directory to be searched.  Only
  2650.                             # the specified directory will be searched.
  2651.     -f path                 # the path to a text file containing the patterns,
  2652.                             # words, or phrases to search for.  Patterns may
  2653.                             # not be specified on the command line if this
  2654.                             # option is used. The file should contain a space
  2655.                             # or line separated list of patterns and string 
  2656.                             # literals.  Note that normal MPW quoting and
  2657.                             # pattern matching rules apply, for example:
  2658.                             #
  2659.                             #   fred joe
  2660.                             #   /whoever≈/
  2661.                             #
  2662.                             # contains three patterns, 'fred', 'joe', and
  2663.                             # '/whoever≈/', while the following:
  2664.                             #
  2665.                             #   'fred joe'
  2666.                             #   /whoever≈/
  2667.                             #
  2668.                             # contains two patterns, 'fred joe' and /whoever≈/
  2669.     pattern…                    # is a list of one or more patterns or string
  2670.                             # literals to search for.  Patterns may not be
  2671.                             # specified on the command line if the -f option
  2672.                             # is used.
  2673.     -q                      # specifies that the report should contain just the
  2674.                             # matched text.  By default, MPW commands are
  2675.                             # generated with the matched text appended as a
  2676.                             # comment.  The -q option may not be specified with
  2677.                             # the -v option.
  2678.     -v                      # specifies that a verbose report should be generated.
  2679.                             # The matched text is shown on one line and MPW
  2680.                             # commands to locate it are given on a separate line.
  2681.                             # The -v option may not be specified with the -q
  2682.                             # option.
  2683.     -p                      # Print progress and copyright information.  Included
  2684.                             # in the progress report is information on which
  2685.                             # files do not contain the search patterns
  2686.     -i                      # specifies that all matches are to be case-
  2687.                             # insensitive.  By default, case sensitivity is
  2688.                             # determined by the value of the {CaseSensitive}
  2689.                             # shell variable.  This option may not be used with
  2690.                             # -s.
  2691.     -s                      # specifies that all matches are to be case-sensitive.
  2692.                             # By default, case sensitivity is determined by the
  2693.                             # value of the {CaseSensitive} shell variable.  This
  2694.                             # option may not be used with -i.
  2695.     -rp                     # report will be grouped by patterns
  2696.     -rf                     # report will be grouped by file (default)
  2697.  
  2698. -
  2699. NameRevisions   # define a symbolic name
  2700. NameRevisions [-u User] [-project Project] [-public | -private | -b] [-r]
  2701.         [[-only] | name [[-expand] [-s] | [-replace] [-dynamic] [names… | -a]]]
  2702.     -u user                 # name of current user
  2703.     -project project        # name of project that contains the revisions
  2704.     -public                 # create a public name (the default)
  2705.     -private                # create a private name
  2706.     -b                      # print both public and private names
  2707.     -r                      # recursively execute NameRevisions starting with current project
  2708.     -only                   # only print the names, not the associated revisions
  2709.     -expand                 # evaluate names to revision level before printing
  2710.     -s                      # print a single name per line
  2711.     -replace                # completely overwrite the previous definition of name
  2712.     -dynamic                # evaluate names to revision level when using not defining
  2713.     -a                      # all the files in the project
  2714.  
  2715. -
  2716. New             # open a new window
  2717. New [-h] [name…]
  2718.     -h                      # open the window as hidden
  2719.  
  2720. -
  2721. Newer           # compare modification dates of files
  2722. Newer [option…] file… target > newer
  2723.     -c                      # compare creation dates
  2724.     -e                      # report names that have same (equal) mod date as target
  2725.     -q                      # don't quote file names with special characters
  2726.  
  2727. -
  2728. NewFolder       # create a new folder
  2729. NewFolder name…
  2730.  
  2731. -
  2732. NewKeyMap       # create alternate keyboard editor assignments
  2733.  
  2734. -
  2735. NewProject      # create a new project
  2736. NewProject -w | -close | ([-u user] [-cs comment | -cf file] project)
  2737.     -cf file                # the comment is contained in file.
  2738.     -close                  # close the New Project window
  2739.     -cs comment             # a short description of the project
  2740.     -w                      # open the New Project window
  2741.     -u user                 # name of current user
  2742.  
  2743. -
  2744. ObsoleteProjectorFile       # make a Projector file inactive
  2745. ObsoleteProjectorFile [option…] file…   
  2746.     -p                      # write progress information to standard output
  2747.     -u User                 # name of current user
  2748.     -project Project        # name of project that contains the files
  2749.                         
  2750. -
  2751. Open            # open file(s) in window(s)
  2752. Open [-n | -r] [-t] [name…]
  2753.     -n                      # open new file (default name Untitled)
  2754.     -r                      # open file for read-only use
  2755.     -t                      # open file as the target window
  2756.     -h                      # open the window as hidden
  2757.  
  2758. -
  2759. OrphanFiles     # remove Projector information from a list of files
  2760. OrphanFiles file…
  2761.  
  2762. -
  2763. Parameters      # write parameters
  2764. Parameters [parameter…]  > parameters
  2765.  
  2766. -
  2767. Pascal          # Pascal compiler
  2768. Pascal [option…] [file…]  < file ≥ progress
  2769.     -b                      # generate A5 references for procedure addresses
  2770.     -c                      # syntax check only, don't create object file
  2771.     -clean                  # erase all symbol table resources
  2772.     -d name=(TRUE|FALSE)    # set compile time variable name
  2773.     -e file                 # write errors to file
  2774.     -forward                # allow only explicit forward and external object declarations
  2775.     -h                      # suppress error messages regarding unsafe handles
  2776.     -i directory,…          # search for includes in directory,…
  2777.     -k directory            # create symbol table resource files in directory
  2778.     -m                      # allow greater than 32K globals by using 32 bit references
  2779.     -mbg ch8                # include v2.0 compatible MacsBug symbols
  2780.     -mbg full               # include full (untruncated) symbols for MacsBug
  2781.     -mbg off                # don't include symbols for MacsBug
  2782.     -mbg number             # include MacsBug symbols truncated to length number
  2783.     -mc68020                # generate MC68020 code 
  2784.     -mc68881                # generate MC68881 code for floating point operations
  2785.     -model farCode|         # generate load-time relocatable 32-bit references for
  2786.         farData|far         #   code, data, or both
  2787.     -model nearCode|        # generate 16-bit references for code, data, or both 
  2788.         nearData|near       #   (the default)
  2789.     -n                      # generate separate global data modules for better allocation
  2790.     -noload                 # don't use or create any symbol table resources
  2791.     -o objname              # generate code in file or directory objname
  2792.     -only name…             # only generate code for named modules
  2793.     -opt off                # don't apply code optimizations
  2794.     -opt on | full          # choose level of code optimization (full is default);
  2795.                             #   can modify with [,nopeep] [,nostatic]   
  2796.     -ov                     # generate code to test for overflow
  2797.     -p                      # write progress information to diagnostics
  2798.     -r                      # don't generate range checking code
  2799.     -rebuild                # rebuild all symbol table resources
  2800.     -sym off                # don't generate symbolic records
  2801.     -sym on | full          # generate symbolic records; can modify with [,nolines] [,notypes] [,novars]
  2802.     -t                      # write compilation time to diagnostics
  2803.     -u                      # initialize all data to $7267 for debugging use
  2804.     -y directory            # create temporary files in directory
  2805.  
  2806. -
  2807. PasMat          # Pascal programs formatter
  2808. PasMat [option…] [input [output]]  < input > output ≥ progress
  2809.     -a                      # set a-  disable CASE label bunching
  2810.     -b                      # set b+  enable IF bunching
  2811.     -body                   # set body+ to disable indenting procedure bodies
  2812.     -c                      # set c+  suppress Return before BEGIN
  2813.     -d                      # set d+  use {…} comment delimiters
  2814.     -e                      # set e+  capitalize identifiers
  2815.     -entab                  # replace multiple blanks with tabs
  2816.     -f                      # set f-  disable formatting
  2817.     -g                      # set g+  group assignment and call statements
  2818.     -h                      # set h-  disable FOR, WHILE, WITH bunching
  2819.     -i directory,…          # search for includes in directory,…
  2820.     -in                     # set in+ process includes
  2821.     -k                      # set k+  indent statements between BEGIN and END
  2822.     -l                      # set l+  literally copy reserved words, identifiers
  2823.     -list file              # write listings to file
  2824.     -n                      # set n+  group formal parameters
  2825.     -o width                # set output line width (default 80)
  2826.     -p                      # write progress information to diagnostics
  2827.     -pattern -old-new-      # modify include names, changing old to new
  2828.     -q                      # set q+  no special ELSE IF formatting
  2829.     -r                      # set r+  upper case reserved words
  2830.     -rec                    # set rec+ to indent field lists under defined id
  2831.     -s file                 # substitute identifiers based on pairs in file
  2832.     -t tab                  # set output tab setting (default 2)
  2833.     -u                      # rename identifiers to match first occurence
  2834.     -v                      # set v+  put THEN on separate line
  2835.     -w                      # set w+  upper case identifiers
  2836.     -x                      # set x+  suppress space around operators
  2837.     -y                      # set y+  suppress space around :=
  2838.     -z                      # set z+  suppress space after commas
  2839.     -:                      # set :+  align colons in VAR declarations
  2840.     -@                      # set @+  multiple CASE tags on separate lines
  2841.     -∂#                     # set #+  smart grouping of assignments and calls
  2842.     -_                      # set _+  delete _ from identifiers
  2843.  
  2844. -
  2845. PasRef          # Pascal cross-referencer
  2846. PasRef [option…] [file…]  < file > crossReference ≥ progress
  2847.     -a                      # process includes and units each time encountered
  2848.     -c                      # process includes and units only once
  2849.     -cond                   # process $SETC and $IFC, $ELSEC, $ENDC conditionals
  2850.     -d                      # process each file separately
  2851.     -d name=TRUE|FALSE      # set $SETC variable name to TRUE or FALSE
  2852.     -i directory,…          # search for includes in directory,…
  2853.     -l                      # write identifiers in lower case
  2854.     -mc68020                # source contains {$IFC OPTION(MC68020)} directives
  2855.     -mc68881                # source contains {$IFC OPTION(MC68881)} directives
  2856.     -n                      # don't process USES or includes
  2857.     -ni | -noi[ncludes]     # don't process include files
  2858.     -nl | -nol[istings]     # don't list the input
  2859.     -nolex                  # don't write lexical information
  2860.     -nt | -not[otal]        # don't write total line count
  2861.     -nu | -nou[ses]         # don't process USES declarations   
  2862.     -o                      # source written using Object Pascal
  2863.     -p                      # write progress information to diagnostics
  2864.     -s                      # don't write include and USES filenames
  2865.     -t                      # cross reference by total line number
  2866.     -u                      # write identifiers in upper case
  2867.     -w width                # set output line width (default 110)
  2868.     -x width                # set maximum identifier width
  2869.  
  2870. -
  2871. Paste           # replace selection with Clipboard contents
  2872. Paste [-c count] selection [window]
  2873.     -c count                # repeat the Paste count times
  2874.  
  2875. -
  2876. PerformReport   # generate a performance report
  2877. PerformReport [option…]  > reportFile ≥ progress
  2878.     -a                      # list all procedures, in segment order
  2879.                             # (default: produce only partial list, sorted by %)
  2880.     -l linkDataFile         # read link map file (concatenated with ROM.list)
  2881.     -m measurementsFile     # read performance measurements file
  2882.                             # (default: "Perform.Out")
  2883.     -n NN                   # show the top NN procedures (default: 50)
  2884.     -p                      # write progress information to diagnostics
  2885.  
  2886. -
  2887. PlaySound      # play a sound ('snd ') resource
  2888. PlaySound [option…] [name…]
  2889.     -q                      # quiet - no error messages
  2890.     -f filename             # specify name of file containing 'snd ' resource
  2891.     name…                   # resource name of 'snd ' resource to play.
  2892.  
  2893. -
  2894. Position        # display current line position
  2895. Position [-l | -c] [window…]
  2896.     -l                      # only list the line number
  2897.     -c                      # only list the character offsets
  2898.  
  2899. -
  2900. PPCAsm          # Assemble PowerPC 60x Assembly Language Code
  2901. PPCAsm [option…] file… > listing ≥ progress
  2902.     -auxheader 1L | RE | RO # generate auxiliary XCOFF header with specified module type
  2903.                             #    1L  = single use
  2904.                             #    RE  = reusable
  2905.                             #    RO  = read only
  2906.     -blocksize n            # set I/O buffer size to n*512 bytes
  2907.     -c[heck]                # syntax check - don't create an XCOFF file
  2908.     -define id[=value]      # define identifier (default value: 1                    
  2909.     -dialect type           # specify the default translation (e.g. Power, PowerPC)
  2910.     -i directory,…          # search for include files in specified directories
  2911.     -l                      # write listing to <stdout>
  2912.     -lo filename            # write listing to <filename>
  2913.     -o filename             # output written to object file named <filename>
  2914.     -p                      # write progress information to stderr
  2915.     -sym on                 # generate debug symbols only for explicit debug 
  2916.                             #   directives (default)
  2917.     -sym off                # do not generate any debug symbols
  2918.     -sym auto               # automatically generate debug symbols
  2919.     -w                      # suppress warnings
  2920.  
  2921. -
  2922. PPCLink         # link a PowerPC application, tool, shared library or static library
  2923. PPCLink [option…] file… ≥ progress
  2924.     -ac n                   # align code modules on n-byte (minimum) boundaries
  2925.     -ad n                   # align data modules on n-byte (minimum) boundaries
  2926.     -c resType              # set output file creator
  2927.     -codeorder source | reference | staticcall | segment | file=fileName
  2928.                             # order how routines are written to the output file
  2929.                             #    source     = same order as in input files
  2930.                             #    reference  = A calls B & C, B calls D, then A,B,C,D
  2931.                             #    staticcall = A calls B & C, B calls D, then A,B,D,C
  2932.                             #    segment    = order routines by segments (default)
  2933.                             #    file       = order routines as specified in text file
  2934.                             # Use of this option might improve the performance of the 
  2935.                             # linked application/shared library.
  2936.     -d                      # suppress warnings about duplicate symbol definitions
  2937.     -dead on | off          # exclude unused code and data from the output file
  2938.                             # default value depends on value of -xm flag as follows:
  2939.                             #    -xm executable      -dead on
  2940.                             #    -xm sharedlibrary   -dead on
  2941.                             #    -xm library         -dead off
  2942.     -@export fileName       # export symbols specified in text file, one symbol per line
  2943.     -export name[,name]…    # export the specified symbols
  2944.     -exportglue on | off    # generate glue for exported routines (default: on)
  2945.     -fragname name          # set PEF container fragment name (default: name of output file)
  2946.     -init default | none | name
  2947.                             # set initialization entry point
  2948.                             # default entry point depends on value of -xm flag as follows:
  2949.                             #    -xm executable        __init_app
  2950.                             #    -xm sharedlibrary     __init_lib
  2951.                             #    -xm library           no init entry point
  2952.     -initbefore name[,name]…# mark the specified import libraries as "init before"
  2953.                             # note - this option takes fragment names not file names
  2954.     -librename old=new      # rename import libraries
  2955.                             # note - this option takes fragment names not file names
  2956.     -linkfaster on | off    # space/time tradeoff (default: on for faster, uses more space)
  2957.     -m[ain] name            # set main entry point (default: __start)
  2958.     -map fileName           # write link map to specified file
  2959.     -[no]mf                 # [don't] use temporary memory (default: mf)
  2960.     -o fileName             # set output file name (default: PPCLink.out)
  2961.     -outputformat default | pef | xcoff
  2962.                             # set output format
  2963.                             # default value depends on value of -xm flag as follows:
  2964.                             #    -xm executable        -outputformat pef
  2965.                             #    -xm sharedlibrary     -outputformat pef
  2966.                             #    -xm library           -outputformat xcoff
  2967.                             # executables and shared libraries can be "xcoff" or "pef"
  2968.                             # static libraries can only be "xcoff"
  2969.     -p                      # write progress information to diagnostics
  2970.     -packdata on | off      # compress the data section (default: on)
  2971.     -profile on |           # enable collection of profiling/performance info at runtime
  2972.        off |                # disable profiling (default)
  2973.        exclude=name[,name]… # exclude specified routines from profiling
  2974.     -rodatais data | code | constant
  2975.                             # place read-only data in the specified section (default: data)
  2976.     -roistext on | off      # place read-only data in the .text/code section (default: off)
  2977.                             # The default is "off" because the .text/code section is
  2978.                             # not write-protected at runtime.
  2979.     -sg newSeg=old[,old]…   # merge old segments into newSeg
  2980.     -share context | global | protected
  2981.                             # set the sharing mode for the data section
  2982.                             #    context   = shared within a context (default)
  2983.                             #    global    = shared across all contexts
  2984.                             #    protected = readable by all contexts, writeable by privileged contexts
  2985.     -sym on|off|big|nobig   # include debug symbols (default: off)
  2986.                             # use -sym big if -sym on runs out of memory
  2987.     -t resType              # set output file type
  2988.     -term default | none | name
  2989.                             # set termination entry point
  2990.                             # default entry point depends on value of -xm flag as follows:
  2991.                             #    -xm executable        __term_app
  2992.                             #    -xm sharedlibrary     __term_lib
  2993.                             #    -xm library           no termination entry point
  2994.     -tocdataref on | off    # optimize runtime calculations of data addresses (default: on)
  2995.                             #   Edit instructions, converting "lzw" to "addi"
  2996.                             #   when the TOC entry being loaded is the address
  2997.                             #   of a variable within ±32k of the TOC anchor.
  2998.                             #   This optimization improves the performance of the
  2999.                             #   linked application/shared library by avoiding a
  3000.                             #   memory reference at runtime.
  3001.     -uf fileName            # report unused code and data symbols to specified file
  3002.     -unmangle on | off      # unmangle C++ symbols in link map and messages (default: on)
  3003.     -v                      # verbose progress (implies -p)
  3004.     -vercur n               # set PEF container "current version" to n (default: 0)
  3005.     -verdef n               # set PEF container "definition version" to n (default: 0)
  3006.     -verimp n               # set PEF container "implementation version" to n (default: 0)
  3007.     -w[arn]                 # suppress warning messages
  3008.     -@weak fileName         # mark imports specified in text file as "weak", one import per line
  3009.     -weak name[,name]…      # mark the specified imports as "weak"
  3010.     -weaklib name[,name]…   # mark the specified import libraries as "weak"
  3011.                             # note - this option takes fragment names not file names
  3012.     -xm e[xecutable] |      # generate an application or tool (default)
  3013.         l[ibrary] |         # generate a static library
  3014.         s[haredlibrary]     # generate a shared library
  3015.  
  3016. -
  3017. PPCProff        # analyze a .pgh file and display the results
  3018. PPCProff [option…] file… > output ≥ progress
  3019.    -cutoff n               # ignore procedures whose hierarchical times
  3020.                            # are less than n%. (default: 0.005)
  3021.    -[no]mf                 # [don't] use multifinder memory (default: nomf)
  3022.    -p                      # write progress information to diagnostics
  3023.    -procoffsets on | off   # display call site offsets/linenumbers (default: on)
  3024.    -sortorder keyword[,keyword]… # define how profile information is displayed
  3025.       flat                 #  sort routines by their flat times
  3026.       hier[archical]       #  sort routines by their hierarchical times (default)
  3027.       [calls]from          #  associate arcs with the called routine
  3028.       [calls]to            #  associate arcs with the calling routine (default)
  3029.    -unmangle on | off      # unmangle C++ symbols (default: on)
  3030.    -v                      # use verbose progress (implies -p)
  3031.    -w[arn]                 # suppress warning messages
  3032.    -xcoff fileName         # the name of the XCOFF file containing symbolics
  3033.  
  3034. -
  3035. Print           # print text files
  3036. Print [option…] file…  < file ≥ progress
  3037.     -b                      # print a border around the text
  3038.     -b2                     # alternate form of border
  3039.     -bm n[.n]               # bottom margin in inches (default 0)
  3040.     -c[opies] n             # print n copies
  3041.     -dialog                 # display standard print dialog
  3042.     -ff string              # treat "string" at beginning of line as a formfeed
  3043.     -f[ont] name            # print using specified font
  3044.     -from n                 # begin printing with page n
  3045.     -h                      # print headers (time, file, page)
  3046.     -hf[ont] name           # print headers using specified font
  3047.     -hs[ize] n              # print headers using specified font size
  3048.     -l[ines] n              # print n lines per page
  3049.     -lm n[.n]               # left margin in inches (default .2778)
  3050.     -ls n[.n]               # line spacing (2 means double-space)
  3051.     -md                     # use modification date of file for time in header
  3052.     -n                      # print line numbers to left of text
  3053.     -nw [-]n                # width of line numbers, - indicates zero padding
  3054.     -p                      # write progress information to diagnostics
  3055.     -page n                 # number pages beginning with n
  3056.     -ps filename            # include PostScript file as background for each page
  3057.     -q quality              # print quality (HIGH, STANDARD, DRAFT)
  3058.     -r                      # print pages in reverse order
  3059.     -rm n[.n]               # right margin in inches (default 0)
  3060.     -s[ize] n               # print using specified font size
  3061.     -t[abs] n               # consider tabs to be n spaces
  3062.     -title title            # include title in page headers
  3063.     -tm n[.n]               # top margin in inches (default 0)
  3064.     -to n                   # stop printing after page n
  3065.  
  3066. -
  3067. PrintProff      # analyze a .proff file and print the results
  3068. PrintProff TargetProgramName [-h | -f] [-p] [-c] [> outputFile]
  3069.     -h                      # hierarchical sort (default)
  3070.     -f                      # flat sort
  3071.     -c                      # for each procedure, list callees
  3072.     -p                      # write progress information to diagnostics
  3073.  
  3074. -
  3075. ProcNames       # display Pascal procedure and function names
  3076. ProcNames [option…] [file…]  < file ≥ progress
  3077.     -b                      # display line info for procedure body
  3078.     -c                      # process includes and units only once
  3079.     -cond                   # process $SETC and $IFC, $ELSEC, $ENDC conditionals
  3080.     -d                      # reset total line count to 1 on each new file
  3081.     -d name=TRUE|FALSE      # set $SETC variable name to TRUE or FALSE
  3082.     -e                      # suppress page eject between each procedure listing
  3083.     -f                      # PasMat format compatibility mode
  3084.     -i pathname,…           # search for includes or USES in directory,…
  3085.     -l n                    # process only to max nesting level n
  3086.     -m                      # generate MPW Mark commands for procedure and function declarations
  3087.     -mc68020                # source contains {$IFC OPTION(MC68020)} directives
  3088.     -mc68881                # source contains {$IFC OPTION(MC68881)} directives
  3089.     -n                      # suppress line number and level information
  3090.     -o                      # source file is an Object Pascal program
  3091.     -p                      # write progress information to diagnostics
  3092.     -u                      # process USES declarations
  3093.  
  3094. -
  3095. Project         # set or write the current project
  3096. Project [-q | projectName]  > project
  3097.     -q                      # don't quote projects with special characters
  3098.  
  3099. -
  3100. ProjectInfo     # display information about a Project
  3101. ProjectInfo [-project project] [-log] [-comments] [-latest] [-f] [-r] [-s] [-only | -m]
  3102.             [-af author | -a author] [-df dates | -d dates] [-cf pattern | -c pattern]
  3103.             [-t pattern] [-n name] [-newer | -update] [file…]
  3104.     -a author               # only list revisions created by author
  3105.     -af author              # only list files created by author
  3106.     -c pattern              # only list revisions whose comment contains pattern
  3107.     -cf pattern             # only list files whose comment contains pattern
  3108.     -comments               # list comments along with the rest of the information
  3109.     -d dates                # only list revisions whose create date is within dates
  3110.     -df dates               # only list files whose mod date is within dates
  3111.     -f                      # list file information
  3112.     -log                    # print project log
  3113.     -m                      # only list files/revisions that are checked out
  3114.     -newer                  # info on files that would be checked out using this option
  3115.     -only                   # only list project information
  3116.     -project project        # name of project to get information on
  3117.     -r                      # recursively list subprojects
  3118.     -latest                 # only list info on the latest revision on the main trunk
  3119.     -s                      # short listing, names and revision names only
  3120.     -t pattern              # only list revisions whose task contains pattern
  3121.     -n name                 # only list revisions that have name
  3122.     -update                 # info on files that would be checked out using this option
  3123.     
  3124.     Note: pattern is either a literal string or /regular expression/.
  3125.     
  3126.     Note: "dates" may take the following forms:
  3127.         date                # on date
  3128.         <date               # before but not including date
  3129.         ≤date               # before and including date
  3130.         >date               # after and not including date
  3131.         ≥date               # after and including date
  3132.         date-date           # between and including dates
  3133.         
  3134.     Note:  A date is mm/dd/[yy]yy [[hh:mm[:ss]] [AM|PM]]
  3135.           ([yy]yy < 100 assumes 20th century, e.g. 19yy)
  3136.     
  3137.     Note: "name" may take the following forms:
  3138.         name                # in name
  3139.         <name               # before name
  3140.         ≤name               # before and including name
  3141.         >name               # after name
  3142.         ≥name               # after and including name
  3143.  
  3144. -
  3145. Quit            # quit MPW
  3146. Quit [-y | -n | -c]
  3147.     -y                      # save all modified windows (avoids dialog)
  3148.     -n                      # do not save any modified windows (avoids dialog)
  3149.     -c                      # cancel if a window needs to be saved (avoids dialog)
  3150.  
  3151. -
  3152. Quote           # echo parameters, quoting if needed
  3153. Quote [-n] [parameter…]  > parameters
  3154.     -n                      # don't write return following the parameters
  3155.  
  3156. -
  3157. Redo            # reverse previous Undo series (if {AllowMultipleUndo} = 1)
  3158.  
  3159. -
  3160. Rename          # rename files and directories
  3161. Rename [-y | -n | -c] oldName newName
  3162.     -resolve                # resolve leaf aliases in oldName
  3163.     -y                      # overwrite existing file (avoids dialog)
  3164.     -n                      # don't overwrite existing file (avoids dialog)
  3165.     -c                      # cancel if conflict occurs (avoids dialog)
  3166.  
  3167. -
  3168. RenameProjectorFile # give Projector file a new name
  3169. RenameProjectorFile [option…] oldName newName   
  3170.     -p                      # write progress information to standard output
  3171.     -u User                 # name of current user
  3172.     -project Project        # name of project that contains the file
  3173.                         
  3174. -
  3175. Replace         # replace the selection
  3176. Replace [-c count] selection replacement [window]
  3177.     -c count                # repeat the replace count times
  3178.  
  3179. -
  3180. Request         # request text from a dialog box
  3181. Request [option…] [message…] < file
  3182.     -q                      # don't set status if user selects cancel
  3183.     -d default              # set default response
  3184.  
  3185. -
  3186. ResEqual        # compare the resources in two files
  3187. ResEqual [option…] File1 File2
  3188.     -attr                   # skip comparison of file attributes
  3189.     -fFlags                 # skip comparison of Finder flags
  3190.     -noResolve              # do not resolve leaf aliases
  3191.     -only type              # compare only resources of this type
  3192.     -p                      # write progress information to diagnostics
  3193.     -rFlags                 # skip comparison of resource attributes
  3194.     -skip type              # skip comparison of resources of this type
  3195.  
  3196. -
  3197. ResolveAlias    # resolve aliases in pathname
  3198. ResolveAlias [option…] pathname > output
  3199.     -q                      # suppress quoting
  3200.     -v                      # include zone and server information in output
  3201.  
  3202. -
  3203. Revert          # revert window to previous saved state
  3204. Revert [-y] [window…]
  3205.     -y                      # revert to old version (without dialog)
  3206.  
  3207. -
  3208. Rez             # resource compiler
  3209. Rez [option…] [file…]  < file ≥ progress
  3210.     -a[ppend]               # merge resource into output resource file
  3211.     -align word | longword  # align resource to word or longword boundaries
  3212.     -c[reator] creator      # set output file creator
  3213.     -d[efine] name[=value]  # equivalent to: #define macro [value]
  3214.     -i[nclude] pathname     # path to search when looking for  #include files
  3215.     -m[odification]         # don't change the output file's modification date
  3216.     -noResolve              # do not resolve any leaf aliases
  3217.     -noResolve include      # do not resolve leaf aliases in include file
  3218.                             #  specifications
  3219.     -noResolve output       # do not resolve leaf aliases in the output file 
  3220.                             #  specification
  3221.     -o file                 # write output to file (default Rez.Out)
  3222.     -ov                     # ok to overwrite protected resources when appending
  3223.     -p                      # write progress information to diagnostics
  3224.     -rd                     # suppress warnings for redeclared types
  3225.     -ro                     # set the mapReadOnly flag in output
  3226.     -script language        # specify the character set (see Note)
  3227.     -s[earch] pathname      # path to search when looking for INCLUDE resources
  3228.     -t[ype] type            # set output file type
  3229.     -u[ndef] name           # equivalent to: #undef name
  3230.  
  3231.     Note: The following languages may be used with the -script option:
  3232.             Roman   (default)
  3233.             Japanese
  3234.             Korean
  3235.             SimpChinese
  3236.             TradChinese
  3237.             
  3238. -
  3239. RezDet          # detect inconsistencies in resources
  3240. RezDet [option…] file…  > dump
  3241.     -b[ig]                  # read resources one at a time, not all at once
  3242.     -d[ump]                 # write -show information, plus headers, lists, etc.
  3243.     -l[ist]                 # write list of resources with minimum information
  3244.     -noResolve              # do not resolve leaf aliases 
  3245.     -q[uiet]                # don't write any output, just set {Status}
  3246.     -r[awdump]              # write -dump information plus contents
  3247.     -s[how]                 # write information about each resource
  3248.     -t[erse]                # suppress messages other than error messages
  3249.     
  3250.     Note: Use at most one of -quiet, -list, -show, -dump, and -rawdump.
  3251.  
  3252. -
  3253. RotatePanes     # make another window pane the active pane
  3254. RotatePanes [-r] [window]
  3255.     -r                      # reverse rotation; make previous pane active
  3256.  
  3257. -
  3258. RotateWindows   # send active (frontmost) window to back
  3259. RotateWindows [-r]
  3260.     -r                      # reverse rotation; bring bottom window to front
  3261.  
  3262. -
  3263. RProj          # send Projector command to SourceServer 
  3264. RProj command
  3265.  
  3266. -
  3267. RShell      # send a command to a "remote" shell
  3268. RShell [ -status | -c id | -k id | [ -f | -b | -r target ] [ -q ] [ command ] ] 
  3269.     -status                 # display information, including transaction id,
  3270.                             #   about pending RShell requests
  3271.     -c id                   # close the files associated with the request whose
  3272.                             #   transaction identifier is id
  3273.     -k id                   # abort the request whose transaction identifier is id
  3274.     -f                      # send the command to the foreground (MPW Shell)
  3275.     -b                      # send the command to the background (ToolServer)
  3276.     -r path                 # send the command to a remote application whose network
  3277.                             #  path is given by path
  3278.     -q                      # quit--if combined with a command, the command
  3279.                             #  is executed first                        
  3280.     command                 # the string to be sent to the target application
  3281.     
  3282. Note: If none of the choices: command, -q, -k, -c, or -status are given, RShell
  3283. will read from standard input.  If none of -f, -b, or -r are given, RShell will 
  3284. display a browser for target selection.
  3285.  
  3286. -
  3287. Save            # save specified windows
  3288. Save [-a | window…]
  3289.     -a                      # save the contents of all windows
  3290.  
  3291. -
  3292. SaveOnClose     # set save behavior when closing windows
  3293. SaveOnClose [-a | -d | -n] [window…]
  3294.     -a                      # always save upon close ("Close -y")
  3295.     -d                      # default behavior for Close
  3296.     -n                      # never save upon close ("Close -n")
  3297.  
  3298.  
  3299. -
  3300. SC                          # Symantec C compiler
  3301. SC [option…] [file]
  3302.     -align power            # set alignment within structres
  3303.         | mac68k
  3304.         | byte
  3305.     -ansi off               # ANSI compatability
  3306.         | on
  3307.         | relaxed
  3308.         | strict
  3309.     -auto_import size       # if cfm model, flag data of 'size' bytes as imported
  3310.     -b                      # produce pc relative strings and functions
  3311.     -b2                     # produce pc relative strings and functions, overlay equal strings
  3312.     -b3                     # produce pc relative strings
  3313.     -bigseg                 # generate code for single large segment
  3314.     -char signed            # default sign of chars
  3315.         | unsigned
  3316.         | unsignedX
  3317.     -d name                 # equivalent to: #define name 1
  3318.     -d name=string          # equivalent to: #define name string
  3319.     -dump[c] filename       # save state of C compilation in filename
  3320.     -e                      # write preprocessor results to output
  3321.     -elems881               # generate MC68881 code for transcendentals (for 68K only)
  3322.     -enum min | int         # set enum size
  3323.     -frames                 # always generate stack frames
  3324.     -i[path][,path]         # search for header files along path
  3325.     -j0|1|2                 # recognize 2 byte Japanese|Chinese, Taiwanese|Korean characters
  3326.     -l filename             # generate a list file
  3327.     -load[c] filename       # load saved C compilation state from filename
  3328.     -mbg on|full|off        # on=full generate MacsBug symbols (default)
  3329.     -mc68020                # generate MC68020 code (for 68K only)
  3330.     -mc68030                # generate MC68030 code (for 68K only)
  3331.     -mc68040                # generate MC68040 code (for 68K only)
  3332.     -mc68881                # generate MC68881 code for arithmetic operations (for 68K only)
  3333.     -model farCode          # generate load-time relocatable 32-bit references for code,
  3334.         | farData           #   data,
  3335.         | far               #   or both (for 68K only)
  3336.     -model nearCode         # generate 16-bit references for code, 
  3337.         | nearData          #   data,
  3338.         | near              #   or both (default)
  3339.     -model cfmseg           # request generation of multi-segment CFM-68K runtime model supporting shared libraries
  3340.     -model cfmflat          # request generation of single segment CFM-68K runtime model supporting shared libraries
  3341.     -nomfmem                # inhibit use of MultiFinder memory
  3342.     -notOnce                # allow multiple copies of header files
  3343.     -o filename|dirname:    # set output file or directory
  3344.     -onefrag                # assume any C++ constructs for CFM-68K runtime model are in the same fragment
  3345.     -opt all                # use all optimizations except space
  3346.         | off               # perform minimal optimizations
  3347.         | none              # perform minimal optimizations
  3348.         | space             # favor space optimizations over time optimizations
  3349.         | time              # favor execution time optimizations over space optimizations
  3350.         | speed             # favor execution time optimizations over space optimizations
  3351.     -p                      # print progress messages
  3352.     -paslinkage             # Pascal linkage option
  3353.     -proto strict | auto    # strict prototyping
  3354.     -s[eg] segname          # assign code to segment (for 68K only)
  3355.     -sym off                # no symbolic records
  3356.     -sym on|full            # full symbolic records
  3357.         [,notypes]          #   omit type information
  3358.         [,nolines]          #   omit source line information
  3359.         [,novars]           #   omit variable information
  3360.         [,alltypes]         #   include ALL type information
  3361.     -trace on               # generate tracing code--calls to %_EP and %_BP
  3362.     -trace off              # generate no tracing code (default)
  3363.     -trace always           # always generate tracing code--calls to %_EP and %_BP
  3364.     -trace never            # never generate tracing code (default)
  3365.     -typecheck strict       # perform strict type checking (default).
  3366.     -typecheck relaxed      # perform relaxed type checking
  3367.     -u                      # suppress predefined non-ANSI macros
  3368.     -w on                   # print all warnings (default)
  3369.         | off               # don't print warnings
  3370.         | [is]err[or]       # warnings are treated as errors
  3371.         | #[,#...]          # don't print warning #N
  3372.     -x                      # continue past error limit
  3373.         
  3374. -
  3375. SCpp                        # Symantec C++ compiler
  3376. SCpp [option…] [file]       #
  3377.     -align power            # set alignment within structres
  3378.         | mac68k
  3379.         | byte
  3380.     -ansi off               # ANSI compatability
  3381.         | on
  3382.         | relaxed
  3383.         | strict
  3384.     -auto_import size       # if cfm model, flag data of 'size' bytes as imported
  3385.     -b                      # produce pc relative strings and functions
  3386.     -b2                     # produce pc relative strings and functions, overlay equal strings
  3387.     -b3                     # produce pc relative strings
  3388.     -bigseg                 # generate code for single large segment
  3389.     -char signed            # default sign of chars
  3390.         | unsigned
  3391.         | unsignedX
  3392.     -d name                 # equivalent to: #define name 1
  3393.     -d name=string          # equivalent to: #define name string
  3394.     -dump[c] filename       # save state of C++ compilation in filename
  3395.     -e                      # write preprocessor results to output
  3396.     -elems881               # generate MC68881 code for transcendentals (for 68K only)
  3397.     -enum min | int         # set enum size
  3398.     -frames                 # always generate stack frames
  3399.     -i[path][,path]         # search for header files along path
  3400.     -inline on              # expand inline functions
  3401.          | all
  3402.          | none
  3403.          | off    
  3404.     -j0|1|2                 # recognize 2 byte Japanese|Chinese, Taiwanese|Korean characters
  3405.     -l filename             # generate a list file
  3406.     -load[c] filename       # load saved C++ compilation state from filename
  3407.     -mbg on|full|off        # on=full generate MacsBug symbols (default)
  3408.     -mc68020                # generate MC68020 code (for 68K only)
  3409.     -mc68030                # generate MC68030 code (for 68K only)
  3410.     -mc68040                # generate MC68040 code (for 68K only)
  3411.     -mc68881                # generate MC68881 code for arithmetic operations (for 68K only)
  3412.     -model farCode          # generate load-time relocatable 32-bit references for code,
  3413.         | farData           #   data,
  3414.         | far               #   or both (for 68K only)
  3415.     -model nearCode         # generate 16-bit references for code, 
  3416.         | nearData          #   data,
  3417.         | near              #   or both (default)
  3418.     -model cfmseg           # request generation of multi-segment CFM-68K runtime model supporting shared libraries
  3419.     -model cfmflat          # request generation of single segment CFM-68K runtime model supporting shared libraries
  3420.     -nomfmem                # inhibit use of MultiFinder memory
  3421.     -notonce                # allow multiple copies of header files
  3422.     -o filename|dirname:    # set output file or directory
  3423.     -onefrag                # assume any C++ constructs for CFM-68K runtime model are in the same fragment
  3424.     -opt all                # use all optimizations except space
  3425.         |off                # perform minimal optimizations
  3426.         |none               # perform minimal optimizations
  3427.         |space              # favor space optimizations over time optimizations
  3428.         |time               # favor execution time optimizations over space optimizations
  3429.         |speed              # favor execution time optimizations over space optimizations
  3430.     -p                      # print progress messages
  3431.     -paslinkage             # Pascal linkage option
  3432.     -s[eg] segname          # assign code to segment (for 68K only)
  3433.     -sym off                # no symbolic records
  3434.     -sym on|full            # full symbolic records
  3435.         [,notypes]          #   omit type information
  3436.         [,nolines]          #   omit source line information
  3437.         [,novars]           #   omit variable information
  3438.         [,alltypes]         #   include ALL type information
  3439.     -trace on               # generate tracing code--calls to %_EP and %_BP
  3440.     -trace off              # generate no tracing code (default)
  3441.     -trace always           # always generate tracing code--calls to %_EP and %_BP
  3442.     -trace never            # never generate tracing code (default)
  3443.     -u                      # suppress predefined non-ANSI macros
  3444.     -w on                   # print all warnings (default)
  3445.         | off               # don't print warnings
  3446.         | [is]err[or]       # warnings are treated as errors
  3447.         | #[,#...]          # don't print warning #N
  3448.     -x                      # continue past error limit
  3449.     -xa templatespec        # instantiate a template with arguments
  3450.     -xi p[ublic]            # instantiate templates in this file with public access
  3451.         | s[tatic]          # expanded templates in this file have static scope
  3452.         | e[xtern]          # templates are accessed externally and are assumed expanded in another file
  3453.  
  3454. -
  3455. SCpre                       # Pre-process C/C++ source generating input to a Symantec compiler
  3456. SCpre [option…] [file]      #
  3457.     -c                      # Pre-process as a C compilation rather than C++
  3458.     -d name                 # equivalent to: #define name 1
  3459.     -d name=string          # equivalent to: #define name string
  3460.     -i[path][,path]         # search for header files along path
  3461.     -j0|1|2                 # Recognizing Multi-byte Asian Character
  3462.     -nomfmem                # Inhibit Use of Multi-finder Memory
  3463.     -notonce                # allow multiple copies of header files
  3464.     -o filename|dirname:    # set output file or directory
  3465.     -p                      # print progress messages
  3466.     -u                      # suppress predefined non-ANSI macros
  3467.  
  3468. -
  3469. Search          # search files for pattern
  3470. Search pattern [file…] [option…] < file > found
  3471.     -b                      # break "File/Line" from matched pattern
  3472.     -e pattern              # search for pattern (allows pattern to be specified last)
  3473.     -exclude file|directory # skip the specified file (or directory if -rd specified)
  3474.     -f file                 # lines not written to output are put in this file
  3475.     -fb                     # flush the output buffer after every match
  3476.     -i                      # case insensitive search (overriding {CaseSensitive})
  3477.     -nf                     # write error message if pattern not found
  3478.     -ns                     # return status code of 0 if pattern not found
  3479.     -p                      # write progress information to diagnostic output
  3480.     -pv                     # verbose progress information
  3481.     -q                      # suppress file name and line number in output
  3482.     -r                      # write non-matching lines to standard output
  3483.     -rd                     # recursive search
  3484.     -s                      # case sensitive search (overriding {CaseSensitive})
  3485.     -sf                     # stop at first match
  3486.     -skipAlias              # skip aliases
  3487.     -t type                 # only search files with specified file type
  3488.     -w                      # suppress warning messages
  3489.     -word                   # search for whole words only
  3490.  
  3491. -
  3492. SendAE          # Send Apple Event to application
  3493. SendAE [option…] [Apple Event Parameters…]
  3494.     -do                     # only output the direct object
  3495.     -dot                    # same as -do, output as text
  3496.     -e classAndID           # 8 characters to denote event class and id
  3497.     -m sendMode             # default: kAEWaitReply
  3498.     -rid returnID           # default: kAutoGenerateReturnID
  3499.     -t target               # target application, default: "{AETargetID}"
  3500.     -tid transactionID      # default: kAnyTransactionID
  3501.     -timeout ticks          # time out in ticks, default: kAEDefaultTimeout
  3502.     
  3503.     Apple Event Parameters:
  3504.         -xxxx data          # parameter in AEBuild format, xxxx is the keyword
  3505.         -xxxxyyyy data      # parameter in yyyy format, xxxx is the keyword
  3506.         -@xxxx data         # attribute in AEBuild format, xxxx is the keyword
  3507.         -@xxxxyyyy data     # attribute in yyyy format, xxxx is the keyword
  3508.     
  3509.     yyyy=file: data is a filename; read the data from that file
  3510.     yyyy=alis: data is a filename list; the data becomes a list of aliases to those files
  3511.     
  3512. -
  3513. Set             # define or write Shell variables
  3514. Set [-e] [name [value]]  > variableList
  3515.     -e                      # export the variable after setting it
  3516.  
  3517. -
  3518. SetDirectory    # set the default directory
  3519. SetDirectory directory
  3520.  
  3521. -
  3522. SetFile         # set file/folder attributes
  3523. SetFile [option…] file/folder…
  3524.     -a attributes           # attributes (lowercase = 0, uppercase = 1)*
  3525.     -c creator              # file creator
  3526.     -comments text          # put "text" in the "Get Info" comments field
  3527.     -d date                 # creation date (mm/dd/[yy]yy [hh:mm[:ss] [AM | PM]])*
  3528.     -l h,v                  # ICON location (horizontal,vertical)*
  3529.     -m date                 # modification date (mm/dd/[yy]yy [hh:mm[:ss] [AM | PM]])*
  3530.     -noResolve              # don't resolve aliases on the input file path
  3531.     -t type                 # file type
  3532.  
  3533.     Note: Period (.) represents the current date and time.
  3534.           
  3535.     Note: [yy]yy < 100 assumes 20th century, e.g. 19yy
  3536.  
  3537.     Note: The following attributes may be used with the -a option:
  3538.         A   Alias file
  3539.         V   Invisible*
  3540.         B   Bundle
  3541.         S   System (name locked)
  3542.         T   Stationary
  3543.         C   Custom icon*
  3544.         L   Locked
  3545.         I   Inited*
  3546.         N   No INIT resources
  3547.         M   Shared (can run multiple times)
  3548.         W   Always switch launch (if possible)
  3549.         D   Desktop*
  3550.  
  3551.     Note: Options/attributes marked with an asterisk (*) are allowed with folders
  3552.  
  3553. -
  3554. SetKey          # define or write key bindings
  3555. SetKey  <empty> | -r | [modifierkey-]…key[-modifierkey-]…key] [string]
  3556.         modifierkey = command | option | shift | control
  3557.     -r          # revert to the default key assignments
  3558.         
  3559. -
  3560. SetPrivilege    # set access privileges for directories on file servers
  3561. SetPrivilege [option…] directory…  > information
  3562.     -d privileges           # set privileges for seeing directories
  3563.     -f privileges           # set privileges for seeing files
  3564.     -g group                # make the directories belong to group
  3565.     -i                      # return information on directories
  3566.     -m privileges           # set privileges for making changes
  3567.     -o owner                # make owner the owner of directories
  3568.     -r                      # operate (set or list) recursively
  3569.  
  3570.     Note: The following privilege characters may be used with
  3571.     the -d, -f, or -m options (Upper case enables the privilege,
  3572.     lower case disables it):
  3573.          O   Owner
  3574.          G   Group
  3575.          E   Everyone
  3576.  
  3577. -
  3578. SetShellSize                # set the shell's stack and Process Manager partition sizes
  3579. SetShellSize [option…]
  3580.     -f ShellFileName        # specify pathname of MPW Shell to modify
  3581.                             # if omitted, sets sizes of currently executing shell
  3582.     -s StackSize[k]         # set stack size in bytes or (with 'k' suffix) kilobytes
  3583.     -p PartitionSize[k]     # set partition size in bytes or (with 'k' suffix) kilobytes
  3584.                                         
  3585.     If neither -p or -s options are supplied, the tool displays the current settings.
  3586.     
  3587. -
  3588. SetVersion      # maintain version and revision number
  3589. SetVersion [option…] file  > output ≥ progress
  3590.     -b                      # increment the bug fix component by 1
  3591.     -country name           # country code name
  3592.     -csource file           # update the #define Version string in C source
  3593.     -d                      # display (updated) version numbers to standard output
  3594.     -fmt nƒ.mƒ              # format version numbers according to specification
  3595.     -i resid                # use specified resource id instead of 0
  3596.     -noResolve              # do not resolve leaf aliases in "file"
  3597.     -p                      # write SetVersion's version info to diagnostic file
  3598.     -prefix prefix          # prefix version with specified prefix
  3599.     -[p]source file         # update the Version string constant in Pascal source
  3600.     -r                      # increment the revision component by 1
  3601.     -rezsource file         # update the resource definition in Rez source
  3602.     -sb bugfix              # set the bug fix component to the specified value
  3603.     -sr revision            # set the revision component to the specified value
  3604.     -stage stage            # set release stage for a 'vers' resource
  3605.     -suffix suffix          # suffix the version with specified suffix
  3606.     -sv version             # set the version component to the specified value
  3607.     -sx nonrel              # set the non-release component to the specified value
  3608.     -sync 1 | 2             # synchronize 'vers',1 with 'vers',2 or vice versa
  3609.     -t type                 # use specified resource type
  3610.     -v                      # increment the version component by 1
  3611.     -verid identifier       # use C/Pascal source version id instead of "Version"
  3612.     -version fmtstring      # alternate way of specifying version component actions
  3613.     -verstring longstring   # set the long version string of a Finder 'vers' resource
  3614.     -x                      # increment the non-release component by 1
  3615.  
  3616. -
  3617. Shift           # renumber command file positional parameters
  3618. Shift [number]
  3619.  
  3620. -
  3621. ShowSelection   # place the selection within an editor window
  3622. ShowSelection [-t | -b | -c | -n lines | -l line] [window]
  3623.     -t                      # place first line of selection at top of window
  3624.     -b                      # place first line of selection at bottom of window
  3625.     -c                      # center the first line within the window
  3626.     -n lines                # place first line of selection lines from the top
  3627.     -l line                 # place line at the top of window
  3628.  
  3629. -
  3630. ShowWindows     # make previous hidden windows visible
  3631. ShowWindows window…
  3632.  
  3633. -
  3634. Shutdown        # power down or restart the machine
  3635. Shutdown [-y | -n | -c] [-r]
  3636.     -y                      # save all modified windows (avoids dialog)
  3637.     -n                      # do not save any modified windows (avoids dialog)
  3638.     -c                      # cancel if a window needs to be saved (avoids dialog)
  3639.     -r                      # restart the machine
  3640.  
  3641. -
  3642. SizeWindow      # set a window's size
  3643. SizeWindow  [h v] [window]
  3644.     h                       # window width (horizontal)
  3645.     v                       # window height (vertical)
  3646.  
  3647. -
  3648. SOMC            # SOM idl compiler
  3649. SOMC [option…] sources.idl… ≥ progress
  3650.     -D define               # defines macro for #ifdef processing
  3651.     -D define=value         # defines macro with a value
  3652.     -e namelist             # runs backend emitters in comma separated name list
  3653.                             # emitters for C are c,h,ih,exp
  3654.                             # emitters for C++ are xc,xh,xih,exp
  3655.     -keeptm                 # keeps temporary intermediate files
  3656.     -I folder               # search for .idl include files in "folder"
  3657.     -m name                 # turns option "name" on
  3658.     -m chkexcept            # specifies the inclusion of exception result 
  3659.                             #   checking during generation of C++ .xh class 
  3660.                             #   bindings. This mechanism can be used to introduce an 
  3661.                             #   automatic “throw” or error handler of some sort, 
  3662.                             #   removing the need to manually check exc
  3663.     -m cplusc               # use .C for C++ file suffix
  3664.     -m cpluscpp             # use .cpp for C++ file suffix
  3665.     -m notexported          # turns CFM68K pragma generation off
  3666.     -o outdir               # specifies the output directory for emitted files.
  3667.                             # (note that this does not specify the output file itself.)
  3668.     -other option           # passes "option" thru to the back end
  3669.     -p                      # keep private info (sets macro __PRIVATE__ to 1)
  3670.     -r                      # checks for undefined names in the release order statement
  3671.     -v                      # uses verbose mode
  3672.     -w                      # turns warnings off
  3673.  
  3674. -
  3675. SOMpdl                      # sanitize .idl file(s) for public consuption
  3676. SOMpdl [option…] sources.idl…
  3677.     -d folder               # specifies folder for output files
  3678.  
  3679. -
  3680. Sort            # sort or merge lines of text
  3681. Sort [option…] [files…]
  3682.     -b                      # skip leading blanks of each field
  3683.     -check                  # check if input is sorted (exit code 5 if not).
  3684.     -d                      # sort fields as decimal numbers
  3685.     -f field[,field]        # specify fields to sort on (see below)
  3686.     -fs string              # specify field separator characters
  3687.     -l                      # convert to lowercase before comparison
  3688.     -merge                  # merge pre-sorted input files
  3689.     -o file                 # specify output file, allows sorting-in-place
  3690.     -p                      # print version and progress information
  3691.     -quote                  # handle fields with quotes
  3692.     -stdin                  # place-holder for standard input (acts like a file)
  3693.     -r                      # reverse order of comparison
  3694.     -t                      # sort fields as text (default)
  3695.     -u                      # convert to uppercase before comparison
  3696.     -unique                 # write only unique output lines
  3697.     -x                      # sort fields as hexadecimal numbers (leading '$'
  3698.                             #   or '0x' is ignored)
  3699.  
  3700.     The comma-separated field specifications (following -f) take the forms:
  3701.     
  3702.             [F][.C][-K][bdlqrtux]
  3703.         or  [F][.C][+N][bdlqrtux]
  3704.  
  3705.     'F' is a field number (0=whole line [default], 1=first word, 2=second word…).
  3706.     'C' is the starting column number (from 1), default=1.
  3707.     'K' is the ending column number >= C, default=infinite.
  3708.     'N' is the maximum number of characters in the field, default=infinite.
  3709.     Only one of '-K' or '+N' can be specified.
  3710.     
  3711.     The local modifier characters 'bdlqrtux' have the same meaning on a
  3712.     per-field basis as -b, -d, -l, -q, -r, -t, -u and -x (which take effect
  3713.     globally).
  3714.  
  3715. -
  3716. StackWindows    # arrange windows diagonally
  3717. StackWindows [-h num] [-v num] [-r top,left,bottom,right] [-i | windows…]
  3718.     -h num                  # horizontal offset between windows
  3719.     -v num                  # vertical offset between windows
  3720.     -r t,l,b,r              # rectangle in which to stack windows
  3721.     -i                      # include the worksheet
  3722.     windows…                # list of windows to tile
  3723.  
  3724. -
  3725. StreamEdit      # scriptable text editor
  3726. StreamEdit [option…] file…
  3727.     -d                      # delete lines (don't copy them)
  3728.     -e statements           # add 'statements' to the script
  3729.     -o file                 # direct output to file in a "safe" manner
  3730.     -p                      # print progress information
  3731.     -s file                 # specify a file containing a script to execute
  3732.     -set variable[=string]  # set the value of a variable
  3733.  
  3734.     A script consists of zero or more of:
  3735.     
  3736.         <address> <command>
  3737.              or
  3738.         <address> -c count <command>
  3739.     
  3740.     The second form specifies that only the first "count" matches will be edited.
  3741.  
  3742.     Addresses take the forms (highest to lowest precedence):
  3743.     
  3744.         ( address )             # override precedence
  3745.         ! address               # match line not matching the address
  3746.         address1 && address2    # match line matching address1 AND address2
  3747.         address1 || address2    # match line matching address1 OR address2
  3748.         address1 , address2     # match address1…address2
  3749.         /regular expression/    # a line that matches the expression
  3750.         •                       # matches BEFORE the first line
  3751.         N                       # matches the Nth line
  3752.         $                       # matches the last line
  3753.         ∞                       # matches AFTER the last line
  3754.  
  3755.     A regular expression starting with 'ç' is case-sensitive.  Any '•' must
  3756.     follow the 'ç'.
  3757.  
  3758.     Commands are:
  3759.     
  3760.         Append <text>           # append text to append buffer
  3761.         Exit [status]           # exit with zero or specified status
  3762.         Change <text>           # set contents of edit buffer
  3763.         Delete                  # clear contents of edit buffer
  3764.         Insert <text>           # append text to insert buffer
  3765.         Next                    # proceed with next line
  3766.         Print <text>            # Print the text
  3767.              [-To file ]        #    directed to the specified file
  3768.              [-AppendTo file]   #    appended to the specified file
  3769.         Replace /pat/ <text>    # do replacement
  3770.                 [-c count]      # specify repeat count (N or ∞)
  3771.         Set variable <text>     # set variable's value
  3772.             [-a]                #    append to variable's current value
  3773.             [-i]                #    insert at front of variable's current value
  3774.         Option AutoDelete       # append "1,$ Delete" to script
  3775.     
  3776.     Where <text> consists of zero or more of:
  3777.     
  3778.         "a string"              # the specified text
  3779.         'a string'              # the specified text
  3780.         .                       # the current line (the edit buffer)
  3781.         variableName            # the contents of the named string variable
  3782.         ®N                      # an "®" variable set by a regular expression
  3783.         -from <filename>        # the next line from the file, where filename
  3784.                                 #    is a string or a variable name
  3785.         -n                      # suppress newline at end
  3786.  
  3787.     If <text> is empty, it defaults to "." (the current line).
  3788.  
  3789. -
  3790. Target          # make a window the target window
  3791. Target name
  3792.  
  3793. -
  3794. TickCount       # returns current system Tick Count
  3795. TickCount > output
  3796.  
  3797. -
  3798. TileWindows     # arrange windows in a tiled fashion
  3799. TileWindows [-h | -v] [-r top,left,bottom,right] [-i | windows…]
  3800.     -h                      # tile windows horizontally
  3801.     -v                      # tile windows vertically
  3802.     -r t,l,b,r              # rectangle in which to tile windows
  3803.     -i                      # include the worksheet
  3804.     windows…                # list of windows to tile
  3805.  
  3806. -
  3807. TransferCkid    # move Projector information from one file to another
  3808. TransferCkid sourceFile destinationFile 
  3809.  
  3810. -
  3811. Translate       # translate characters
  3812. Translate [option…] src [dst] < file > output ≥ progress
  3813.     -p                      # write progress information to diagnostics
  3814.     -s                      # set font, font size, and tab setting of output
  3815.  
  3816. -
  3817. Unalias         # remove aliases
  3818. Unalias [name…]
  3819.  
  3820. -
  3821. Undo            # undo the last edit (or edits if {AllowMultipleUndo} = 1)
  3822. Undo [window]
  3823.  
  3824. -
  3825. Unexport        # remove variable definitions from the export list
  3826. Unexport [-r | -s | name…]  > unexports
  3827.     -r                      # generate Export commands for all unexported variables
  3828.     -s                      # print the names only
  3829.  
  3830. -
  3831. Unmangle        # unmangle mangled C++ names
  3832. Unmangle [option…] [signature…]
  3833.     -a[ctive]               # use the current selection in the active window
  3834.     -h[elp]                 # display this help info
  3835.     -t[arget]               # use the current selection in the target window
  3836.     -v[erbose]              # duplicate the output of the old UnmangleTool command
  3837.  
  3838.     Note: Unmangle reads from stdin (one signature per line) if signatures
  3839.           are not supplied in the argument list or via -a or -t.
  3840.  
  3841. -
  3842. Unmark          # remove a marker from a window
  3843. Unmark name… window
  3844.  
  3845. -
  3846. Unmount         # unmount volumes
  3847. Unmount volume…
  3848.  
  3849. -
  3850. UnmountProject  # unmount projects
  3851. UnmountProject -a | Project…
  3852.     -a                      # unmount all mounted projects
  3853.  
  3854. -
  3855. UnObsoleteProjectorFile # make an inactive Projector file active again
  3856. UnObsoleteProjectorFile [option…] file… 
  3857.     -p                      # write progress information to standard output
  3858.     -u User                 # name of current user
  3859.     -project Project        # name of project that contains the files
  3860.                         
  3861. -
  3862. Unset           # remove Shell variable definitions
  3863. Unset [name…]
  3864.  
  3865. -
  3866. UnsetKey        #remove key bindings
  3867. UnsetKey    [modifierkey-]…key[-modifierkey-]…key]
  3868.             modifierkey = command | option | shift | control
  3869.             
  3870. -
  3871. UserVariables   # uses Commando to set all the user variables
  3872. UserVariables
  3873.  
  3874. -
  3875. Version         # print the version of the MPW Shell
  3876. Version
  3877.     -v          # produce verbose output
  3878. -
  3879. VersionList     # print version info from files 
  3880. VersionList [option…] [file…]  > versionsReport
  3881.     -all                    # print version info for all files in directory
  3882.     -c creator              # report on files that have the named file creator. 
  3883.                             #   Default is 'MPS '
  3884.     -d                      # include modification date in report
  3885.     -h                      # suppress the report header and footer
  3886.     -l                      # don't truncate very long file names
  3887.     -newer date             # report on files whose modification date is 
  3888.                             #   newer than date
  3889.     -noResolve              # do not resolve file aliases 
  3890.     -older date             # report on files whose modification date is 
  3891.                             #   older than date
  3892.     -p                      # write progress information to diagnostic output
  3893.     -r                      # recursively search subdirectories
  3894.     -raw                    # suppress all formatting.  Print tab-delimited columns
  3895.     -t type                 # report on files that have the named file type. 
  3896.                             #   Default is 'MPST'
  3897.     -u path                 # start search at <path>. Default is {MPW}Tools:
  3898.     -v                      # include 'vers' 2 resource info in report
  3899.     
  3900. -
  3901. Volumes         # list mounted volumes
  3902. Volumes [option…] [volume…] > volumeList
  3903.     -l                      # long format (name, drive, size, free, files, dirs)
  3904.     -q                      # don't quote volume names with special characters
  3905.     -local                  # list only local volumes
  3906.     -server                 # list only server volumes
  3907.  
  3908. -
  3909. WhereIs         # find the location of a file
  3910. WhereIs [option…] pattern…
  3911.     -c                      # completely match filepattern
  3912.     -d                      # include directories
  3913.     -resolve                # if file is an alias, resolve and show path to target
  3914.     -v                      # verbose output - put summary line at end
  3915.     -x                      # don't use PBCatSearch system call (sometimes slower)
  3916.     -s directory            # starting directory/volume for search
  3917.  
  3918. -
  3919. Which           # determine which file the shell will execute
  3920. Which [option…] [name]  > file ≥ progress
  3921.     -a                      # report all commands named "name"
  3922.     -p                      # writes progress information to diagnostics
  3923.  
  3924. -
  3925. Windows         # list windows
  3926. Windows [option…]
  3927.     -q                      # don't quote window names with special characters
  3928.     -o                      # list "Open" command lines for execution
  3929.     -h                      # list only hidden windows
  3930.     -v                      # list only visible windows
  3931.     -clean                  # list only "clean" windows
  3932.     -dirty                  # list only "dirty" windows
  3933.     -e                      # exclude the Worksheet window                     
  3934.  
  3935. -
  3936. ZoomWindow      # enlarge or reduce a window's size
  3937. ZoomWindow [-b | -s] [window]
  3938.     -b                      # zoom to full screen (big)
  3939.     -s                      # zoom back to regular size (small)
  3940.